Part Number Hot Search : 
ML9213GP VCX162 N60S5 82531040 40007 2SC3007 AQM24 N60S5
Product Description
Full Text Search
 

To Download PSB21150V14 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  never stop thinking. data sheet, ds1, jan. 2003 wired communications ipac-x isdn pc adapter circuit psb/psf 21150, v 1.4 4 .com u datasheet
edition 2003-01-30 published by infineon technologies ag, st.-martin-strasse 53, 81669 mnchen, germany ? infineon technologies ag 2003. all rights reserved. attention please! the information herein is given to describe certain components and shall not be considered as warranted characteristics. terms of delivery and rights to technical change reserved. we hereby disclaim any and all warranties, including but not limited to warranties of non-infringement, regarding circuits, descriptions and charts stated herein. infineon technologies is an approved cecc manufacturer. information for further information on technology, delivery terms and conditions and prices please contact your nearest infineon technologies office in germany or our infineon technologies representatives worldwide ( www.infineon.com ). warnings due to technical requirements components may contain dangerous substances. for information on the types in question please contact your nearest infineon technologies office. infineon technologies components may only be used in life-support devices or systems with the express written approval of infineon technologies, if a failure of such components can reasonably be expected to cause the failure of that life-support device or system, or to affect the safety or effectiveness of that device or system. life support devices or systems are intended to be implanted in the human body, or to support and/or maintain and sustain and/or protect human life. if they fail, it is reasonable to assume that the health of the user or other persons may be endangered. abm ? , ace ? , aop ? , arcofi ? , asm ? , asp ? , digitape ? , duslic ? , epic ? , elic ? , falc ? , geminax ? , idec ? , inca ? , iom ? , ipat ? -2, isac ? , itac ? , iwe ? , iworx ? , musac ? , muslic ? , octat ? , optiport ? , potswire ? , quat ? , quadfalc ? , scout ? , sicat ? , sicofi ? , sidec ? , slicofi ? , smint ? , socrates ? , vinetic ? , 10basev ? , 10basevx ? are registered trademarks of infineon technologies ag. 10bases?, easyport?, vdslite? are trademarks of infineon technologies ag. microsoft ? is a registered trademark of microsoft corporation. linux ? is a registered trademark of linus torvalds. the information in this document is subject to change without notice. 4 .com u datasheet
data sheet revision history: 2003-01-30 ds1 previous version: data sheet, ds1, v1.3, 2000-07-21 page subjects (major changes since last revision) chapter 1 comparison ipac/ipac-x chapter 3.3.7.2 s- transceiver synchronization new chapter 3.3.11 test functions extended chapter 3.7.1.1 cda handler description extended chapter 3.7.5.1 tic bus access control: note added chapter 5.6 iom-2 interface timing: explanation added chapter 5.7.2 parallel microcontroller interface timing: explanation added chapter 5.10 s-transceiver chapter 5.11 recommended transformer specificatio: changed chapter 5.12 line overload protection added chapter 5.13 emc/esd added 4 .com u datasheet
ipac-x psb/psf 21150 table of contents page data sheet 4 2003-01-30 1overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1.1 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.2 logic symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 1.3 typical applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2 pin configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3 description of functional blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 3.1 general functions and device architecture . . . . . . . . . . . . . . . . . . . . . . . 33 3.2 microcontroller interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.2.1 serial control interface (sci) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 3.2.1.1 programming sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 3.2.2 parallel microcontroller interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 3.2.3 interrupt structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 3.2.4 reset generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 3.2.5 timer modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 3.2.6 activation indication via pin acl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 3.3 s/t-interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 3.3.1 s/t-interface coding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 3.3.2 s/t-interface multiframing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 3.3.3 multiframe synchronization (m-bit) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 3.3.4 data transfer and delay between iom-2 and s/t . . . . . . . . . . . . . . . . 57 3.3.5 transmitter characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 3.3.6 receiver characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 3.3.7 s/t interface circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 3.3.7.1 external protection circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 3.3.7.2 s-transceiver synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 3.3.8 s/t interface delay compensation (te/lt-t mode) . . . . . . . . . . . . . . . 65 3.3.9 level detection power down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 3.3.10 transceiver enable/disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 3.3.11 test functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 3.4 clock generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 3.4.1 description of the receive pll (dpll) . . . . . . . . . . . . . . . . . . . . . . . . . 71 3.4.2 jitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 3.4.3 oscillator clock output c768 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 3.5 control of layer-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 3.5.1 state machine te and lt-t mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 3.5.1.1 state transition diagram (te, lt-t) . . . . . . . . . . . . . . . . . . . . . . . . . 75 3.5.1.2 states (te, lt-t) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 3.5.1.3 c/i codes (te, lt-t) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 3.5.1.4 infos on s/t (te, lt-t) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 3.5.2 state machine lt-s mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 3.5.2.1 state transition diagram (lt-s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 4 .com u datasheet
ipac-x psb/psf 21150 table of contents page data sheet 5 2003-01-30 3.5.2.2 states (lt-s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 3.5.2.3 c/i codes (lt-s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 3.5.2.4 infos on s/t (lt-s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 3.5.3 state machine nt mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 3.5.3.1 state transition diagram (nt) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 3.5.3.2 states (nt) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 3.5.3.3 c/i codes (nt) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 3.5.4 command/indicate channel codes (c/i0) - overview . . . . . . . . . . . . . . 90 3.6 control procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 3.6.1 example of activation/deactivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 3.6.2 activation initiated by the terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 3.6.3 activation initiated by the network termination nt . . . . . . . . . . . . . . . . 93 3.7 iom-2 interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 3.7.1 iom-2 handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 3.7.1.1 controller data access (cda) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 3.7.1.2 idsl support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 3.7.2 serial data strobe signal and strobed data clock . . . . . . . . . . . . . . 112 3.7.2.1 serial data strobe signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 3.7.2.2 strobed iom-2 bit clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 3.7.3 iom-2 monitor channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 3.7.3.1 handshake procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 3.7.3.2 error treatment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 3.7.3.3 monitor channel programming as a master device . . . . . . . . . . 122 3.7.3.4 monitor channel programming as a slave device . . . . . . . . . . . 123 3.7.3.5 monitor time-out procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 3.7.3.6 monitor interrupt logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 3.7.4 c/i channel handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 3.7.5 d-channel access control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 3.7.5.1 tic bus d-channel access control . . . . . . . . . . . . . . . . . . . . . . . . 128 3.7.5.2 s-bus priority mechanism for d-channel . . . . . . . . . . . . . . . . . . . . 130 3.7.5.3 s-bus d-channel control in lt-t . . . . . . . . . . . . . . . . . . . . . . . . . . 133 3.7.5.4 d-channel control in the intelligent nt (tic- and s-bus) . . . . . . . . 133 3.7.6 activation/deactivation of iom-2 interface . . . . . . . . . . . . . . . . . . . . . 137 3.8 auxiliary interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 3.8.1 mode dependent functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 3.9 hdlc controllers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 3.9.1 message transfer modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 3.9.2 data reception . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 3.9.2.1 structure and control of the receive fifo . . . . . . . . . . . . . . . . . . . 146 3.9.2.2 receive frame structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 3.9.3 data transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 3.9.3.1 structure and control of the transmit fifo . . . . . . . . . . . . . . . . . . 154 4 .com u datasheet
ipac-x psb/psf 21150 table of contents page data sheet 6 2003-01-30 3.9.3.2 transmit frame structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159 3.9.4 access to iom-2 channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159 3.9.5 extended transparent mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159 3.9.6 hdlc controller interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 3.10 test functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162 4 detailed register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 4.1 d-channel hdlc control and c/i registers . . . . . . . . . . . . . . . . . . . . . . 172 4.1.1 rfifod - receive fifo d-channel . . . . . . . . . . . . . . . . . . . . . . . . . 172 4.1.2 xfifod - transmit fifo d-channel . . . . . . . . . . . . . . . . . . . . . . . . . 172 4.1.3 istad - interrupt status register d-channel . . . . . . . . . . . . . . . . . . . 172 4.1.4 maskd - mask register d-channel . . . . . . . . . . . . . . . . . . . . . . . . . . 174 4.1.5 stard - status register d-channel . . . . . . . . . . . . . . . . . . . . . . . . . 174 4.1.6 cmdrd - command register d-channel . . . . . . . . . . . . . . . . . . . . . 175 4.1.7 moded - mode register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 4.1.8 exmd1- extended mode register d-channel 1 . . . . . . . . . . . . . . . . . 178 4.1.9 timr1 - timer 1 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179 4.1.10 sap1 - sapi1 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180 4.1.11 sap2 - sapi2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180 4.1.12 rbcld - receive frame byte count low d-channel . . . . . . . . . . . . 181 4.1.13 rbchd - receive frame byte count high d-channel . . . . . . . . . . . 181 4.1.14 tei1 - tei1 register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181 4.1.15 tei2 - tei2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182 4.1.16 rstad - receive status register d-channel . . . . . . . . . . . . . . . . . . 182 4.1.17 tmd -test mode register d-channel . . . . . . . . . . . . . . . . . . . . . . . . 184 4.1.18 cir0 - command/indication receive 0 . . . . . . . . . . . . . . . . . . . . . . . 185 4.1.19 cix0 - command/indication transmit 0 . . . . . . . . . . . . . . . . . . . . . . . 186 4.1.20 cir1 - command/indication receive 1 . . . . . . . . . . . . . . . . . . . . . . . 186 4.1.21 cix1 - command/indication transmit 1 . . . . . . . . . . . . . . . . . . . . . . . 187 4.2 transceiver registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188 4.2.1 tr_conf0 - transceiver configuration register 0 . . . . . . . . . . . . . . 188 4.2.2 tr_conf1 - transceiver configuration register 1 . . . . . . . . . . . . . . 189 4.2.3 tr_conf2 - transmitter configuration register 2 . . . . . . . . . . . . . . 190 4.2.4 tr_sta - transceiver status register . . . . . . . . . . . . . . . . . . . . . . . 191 4.2.5 tr_cmd - transceiver command register . . . . . . . . . . . . . . . . . . . . 192 4.2.6 sqrr1 - s/q-channel receive register 1 . . . . . . . . . . . . . . . . . . . . 193 4.2.7 sqxr1- s/q-channel tx register 1 . . . . . . . . . . . . . . . . . . . . . . . . . 194 4.2.8 sqrr2 - s/q-channel receive register 2 . . . . . . . . . . . . . . . . . . . . . 194 4.2.9 sqxr2 - s/q-channel tx register 2 . . . . . . . . . . . . . . . . . . . . . . . . . 195 4.2.10 sqrr3 - s/q-channel receive register 3 . . . . . . . . . . . . . . . . . . . . 195 4.2.11 sqxr3 - s/q-channel tx register 3 . . . . . . . . . . . . . . . . . . . . . . . . . 195 4.2.12 istatr - interrupt status register transceiver . . . . . . . . . . . . . . . . . 196 4.2.13 masktr - mask transceiver interrupt . . . . . . . . . . . . . . . . . . . . . . . . 197 4 .com u datasheet
ipac-x psb/psf 21150 table of contents page data sheet 7 2003-01-30 4.2.14 tr_mode - transceiver mode register 1 . . . . . . . . . . . . . . . . . . . . . 197 4.3 auxiliary interface registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198 4.3.1 acfg1 - auxiliary configuration register 1 . . . . . . . . . . . . . . . . . . . . 198 4.3.2 acfg2 - auxiliary configuration register 2 . . . . . . . . . . . . . . . . . . . . 198 4.3.3 aoe - auxiliary output enable register . . . . . . . . . . . . . . . . . . . . . . . 200 4.3.4 arx - auxiliary interface receive register . . . . . . . . . . . . . . . . . . . . 201 4.3.5 atx - auxiliary interface transmit register . . . . . . . . . . . . . . . . . . . . 201 4.4 iom-2 and monitor handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202 4.4.1 cdaxy - controller data access register xy . . . . . . . . . . . . . . . . . . . 202 4.4.2 xxx_tsdpxy - time slot and data port selection for chxy . . . . . . . 203 4.4.3 cdax_cr - control register controller data access ch1x . . . . . . . 204 4.4.4 tr_cr - control register transceiver data (iom_cr.ci_cs=0) . . . 205 4.4.5 trc_cr - control register transceiver c/i0 (iom_cr.ci_cs=1) . . . 206 4.4.6 bchx_cr - control register b-channel controller data . . . . . . . . . . 206 4.4.7 dci_cr - control register for d and ci1 handler (iom_cr.ci_cs=0) 207 4.4.8 dcic_cr - control register for ci0 handler (iom_cr.ci_cs=1) . . . 208 4.4.9 mon_cr - control register monitor data . . . . . . . . . . . . . . . . . . . . . 209 4.4.10 sdsx_cr - control register serial data strobe x . . . . . . . . . . . . . . . 210 4.4.11 iom_cr - control register iom data . . . . . . . . . . . . . . . . . . . . . . . . 211 4.4.12 sti - synchronous transfer interrupt . . . . . . . . . . . . . . . . . . . . . . . . . 213 4.4.13 asti - acknowledge synchronous transfer interrupt . . . . . . . . . . . . 214 4.4.14 msti - mask synchronous transfer interrupt . . . . . . . . . . . . . . . . . . . 214 4.4.15 sds_conf - configuration register for serial data strobes . . . . . . 215 4.4.16 mcda - monitoring cda bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215 4.4.17 mor - monitor receive channel . . . . . . . . . . . . . . . . . . . . . . . . . . 216 4.4.18 mox - monitor transmit channel . . . . . . . . . . . . . . . . . . . . . . . . . 216 4.4.19 mosr - monitor interrupt status register . . . . . . . . . . . . . . . . . . . 216 4.4.20 mocr - monitor control register . . . . . . . . . . . . . . . . . . . . . . . . . 217 4.4.21 msta - monitor status register . . . . . . . . . . . . . . . . . . . . . . . . . . 218 4.4.22 mconf - monitor configuration register . . . . . . . . . . . . . . . . . . . 218 4.5 interrupt and general configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 4.5.1 ista - interrupt status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 4.5.2 mask - mask register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220 4.5.3 auxi - auxiliary interrupt status register . . . . . . . . . . . . . . . . . . . . . . 220 4.5.4 auxm - auxiliary mask register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221 4.5.5 mode1 - mode1 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222 4.5.6 mode2 - mode2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223 4.5.7 id - identification register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224 4.5.8 sres - software reset register . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224 4.5.9 timr2 - timer 2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225 4.6 b-channel registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 4.6.1 istab - interrupt status register b-channels . . . . . . . . . . . . . . . . . . 226 4 .com u datasheet
ipac-x psb/psf 21150 table of contents page data sheet 8 2003-01-30 4.6.2 maskb - mask register b-channels . . . . . . . . . . . . . . . . . . . . . . . . . 227 4.6.3 starb - status register b-channels . . . . . . . . . . . . . . . . . . . . . . . . 227 4.6.4 cmdrb - command register b-channels . . . . . . . . . . . . . . . . . . . . . 228 4.6.5 modeb - mode register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229 4.6.6 exmb - extended mode register b-channels . . . . . . . . . . . . . . . . . . 230 4.6.7 rah1 - rah1 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232 4.6.8 rah2 - rah2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232 4.6.9 rbclb - receive frame byte count low b-channels . . . . . . . . . . . 233 4.6.10 rbchb - receive frame byte count high b-channels . . . . . . . . . . . 233 4.6.11 ral1 - ral1 register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 4.6.12 ral2 - ral2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 4.6.13 rstab - receive status register b-channels . . . . . . . . . . . . . . . . . 234 4.6.14 tmb -test mode register b-channels . . . . . . . . . . . . . . . . . . . . . . . . 236 4.6.15 rfifob - receive fifo b-channels . . . . . . . . . . . . . . . . . . . . . . . . 236 4.6.16 xfifob - transmit fifo b-channels . . . . . . . . . . . . . . . . . . . . . . . . 236 5 electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237 5.1 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237 5.2 dc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238 5.3 capacitances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239 5.4 oscillator specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240 5.5 ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241 5.6 iom-2 interface timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242 5.7 microcontroller interface timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245 5.7.1 serial control interface (sci) timing . . . . . . . . . . . . . . . . . . . . . . . . . . 245 5.7.2 parallel microcontroller interface timing . . . . . . . . . . . . . . . . . . . . . . . 246 5.8 multiframe synchronisation timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250 5.9 reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251 5.10 s-transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252 5.11 recommended transformer specification . . . . . . . . . . . . . . . . . . . . . . . 253 5.12 line overload protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254 5.13 emc / esd aspects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255 6 package outlines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256 7 appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258 4 .com u datasheet
ipac-x psb/psf 21150 list of figures page data sheet 9 2003-01-30 figure 1 logic symbol of the ipac-x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 figure 2 isdn pc adapter card for s interface . . . . . . . . . . . . . . . . . . . . . . . . 20 figure 3 isdn pc adapter card for u or s interface. . . . . . . . . . . . . . . . . . . . . 21 figure 4 isdn voice/data terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 5 isdn stand-alone terminal with pots interface . . . . . . . . . . . . . . . . 23 figure 6 pin configuration of the ipac-x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 7 functional block diagram of the ipac-x . . . . . . . . . . . . . . . . . . . . . . . 33 figure 8 serial control interface timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 figure 9 serial control interface timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 figure 10 direct/indirect register address mode . . . . . . . . . . . . . . . . . . . . . . . . 40 figure 11 interrupt status and mask registers . . . . . . . . . . . . . . . . . . . . . . . . . . 41 figure 12 reset generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 figure 13 timer interrupt status registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 figure 14 timer 1 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 figure 15 timer 2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 figure 16 acl indication of activated layer 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 figure 17 acl configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 figure 18 wiring configurations in user premises . . . . . . . . . . . . . . . . . . . . . . . 49 figure 19 s/t -interface line code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 figure 20 frame structure at reference points s and t (itu i.430). . . . . . . . . . 51 figure 21 multiframe synchronization using the m-bit. . . . . . . . . . . . . . . . . . . . . 54 figure 22 sampling time in lt-s / nt mode (m-bit input) . . . . . . . . . . . . . . . . . 55 figure 23 frame relationship in lt-s / nt mode (m-bit input) . . . . . . . . . . . . . . 55 figure 24 frame relationship in te / lt-t mode (m-bit output) . . . . . . . . . . . . . 56 figure 25 data delay between iom-2 and s/t interface transparent mode (te mode only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 figure 26 data delay between iom-2 and s/t interface with s/g bit evaluation (te mode only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 figure 27 data delay between iom-2 and s/t interface with 8 iom channels (lt-s/nt mode only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 figure 28 data delay between iom-2 and s/t interface with 3 iom channels a maximum receive delay(lt-s/nt mode only). . . . . . . . . . . . . . . . . 59 figure 29 equivalent internal circuit of the transmitter stage . . . . . . . . . . . . . . 60 figure 30 equivalent internal circuit of the receiver stage . . . . . . . . . . . . . . . . 61 figure 31 connection of line transformers and power supply to the ipac-x . . 62 figure 32 external circuitry for transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 figure 33 external circuitry for symmetrical receivers. . . . . . . . . . . . . . . . . . . . 64 figure 34 external circuitry for symmetrical receivers. . . . . . . . . . . . . . . . . . . . 65 figure 35 disabling of s/t transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 figure 36 external loop at the s/t-interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 figure 37 clock system of the ipac-x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 figure 38 phase relationships of ipac-x clock signals . . . . . . . . . . . . . . . . . . 71 4 .com u datasheet
ipac-x psb/psf 21150 list of figures page data sheet 10 2003-01-30 figure 39 buffered oscillator clock output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 figure 40 layer-1 control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 figure 41 state diagram notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 figure 42 state transition diagram (te, lt-t) . . . . . . . . . . . . . . . . . . . . . . . . . . 76 figure 43 state transition diagram of unconditional transitions (te, lt-t) . . . 77 figure 44 state transition diagram (lt-s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 figure 45 state transition diagram (nt) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 figure 46 example of activation/deactivation initiated by the terminal . . . . . . . 91 figure 47 example of activation/deactivation initiated by the terminal (te). activation/deactivation completely under software control . . . . . . . . 92 figure 48 example of activation/deactivation initiated by the network termination (nt). activation/deactivation completely under softwarcontrol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 figure 49 iom  -2 frame structure in terminal mode . . . . . . . . . . . . . . . . . . . . 95 figure 50 multiplexed frame structure of the iom-2 interface in non-te timing mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 figure 51 architecture of the iom handler (example configuration). . . . . . . . . . 98 figure 52 data access via cdax1 and cdax2 register pairs . . . . . . . . . . . . . 100 figure 53 examples for data access via cdaxy registers . . . . . . . . . . . . . . . . 101 figure 54 data access when looping tsa from du to dd . . . . . . . . . . . . . . . . 102 figure 55 data access when shifting tsa to tsb on du (dd) . . . . . . . . . . . . 103 figure 56 example for monitoring data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 figure 57 interrupt structure of the synchronous data transfer . . . . . . . . . . . . 106 figure 58 examples for the synchronous transfer interrupt control with one enabled stixy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 figure 59 timeslot assignment on iom-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 figure 60 examples for hdlc controller access . . . . . . . . . . . . . . . . . . . . . . . 110 figure 61 timeslot assignment on s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 figure 62 mapping of bits from iom-2 to s . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 figure 63 data strobe signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 figure 64 strobed iom-2 bit clock. register sds_conf programmed to 01h 114 figure 65 examples of monitor channel applications in iom -2 te mode . . 115 figure 66 monitor channel protocol (iom-2) . . . . . . . . . . . . . . . . . . . . . . . . 118 figure 67 monitor channel, transmission abort requested by the receiver . . 121 figure 68 monitor channel, transmission abort requested by the transmitter 121 figure 69 monitor channel, normal end of transmission . . . . . . . . . . . . . . . . . 122 figure 70 monitor interrupt structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 figure 71 cic interrupt structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 figure 72 applications of tic bus in iom-2 bus configuration . . . . . . . . . . . . . 129 figure 73 structure of last octet of ch2 on du . . . . . . . . . . . . . . . . . . . . . . . . 130 figure 74 structure of last octet of ch2 on dd . . . . . . . . . . . . . . . . . . . . . . . . 131 figure 75 d-channel access control on the s-interface . . . . . . . . . . . . . . . . . . 132 4 .com u datasheet
ipac-x psb/psf 21150 list of figures page data sheet 11 2003-01-30 figure 76 data flow for collision resolution procedure in intelligent nt . . . . . 136 figure 77 deactivation of the iom-2 interface . . . . . . . . . . . . . . . . . . . . . . . . . . 137 figure 78 activation of the iom-2 interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 figure 79 rfifo operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 figure 80 data reception procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150 figure 81 reception sequence example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151 figure 82 receive data flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 figure 83 data transmission procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 figure 84 transmission sequence example . . . . . . . . . . . . . . . . . . . . . . . . . . . 158 figure 85 transmit data flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159 figure 86 interrupt status registers of the hdlc controllers . . . . . . . . . . . . . . 161 figure 87 layer 2 test loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162 figure 88 register mapping of the ipac-x . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 figure 89 oscillator circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240 figure 90 input/output waveform for ac tests . . . . . . . . . . . . . . . . . . . . . . . . . 241 figure 91 iom-2 timing (te mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242 figure 92 iom-2 timing (lt-s, lt-t, nt mode) . . . . . . . . . . . . . . . . . . . . . . . . 243 figure 93 definition of clock period and width . . . . . . . . . . . . . . . . . . . . . . . . . 244 figure 94 sci interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245 figure 95 microprocessor read cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246 figure 96 microprocessor write cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246 figure 97 multiplexed address timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247 figure 98 non-multiplexed address timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247 figure 99 microprocessor read timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248 figure 100 microprocessor write cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248 figure 101 non-multiplexed address timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248 figure 102 sampling time in lt-s/nt mode (m-bit input) . . . . . . . . . . . . . . . . . 250 figure 103 reset signal res . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251 figure 104 maximum line input current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254 figure 105 transformer circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255 4 .com u datasheet
ipac-x psb/psf 21150 list of tables page data sheet 12 2003-01-30 table 1 comparison of the ipac-x with the previous version ipac: . . . . . . . 14 table 2 ipac-x pin definitions and functions . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 3 host interface selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 4 header byte code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 table 5 bus operation modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 table 6 reset source selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 table 7 ipac-x timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 table 8 s/q-bit position identification and multi-frame structure . . . . . . . . . . 52 table 9 clock modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 10 examples for synchronous transfer interrupts . . . . . . . . . . . . . . . . . 105 table 11 cda register combinations with correct read/write access . . . . . 108 table 12 transmit direction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 table 13 receive direction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 table 14 ipac-x configuration settings in intelligent nt applications . . . . . . 134 table 15 aux pin functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 table 16 iom-2 channel selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 table 17 hdlc controller address range . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 table 18 receive byte count with rbc11...0 in the rbchx/rbclx registers 147 table 19 receive information at rme interrupt . . . . . . . . . . . . . . . . . . . . . . . . 153 table 20 xpr interrupt (availability of xfifox) after xtf, xme commands . 155 4 .com u datasheet
ipac-x psb/psf 21150 overview data sheet 13 2003-01-30 1overview the isdn pc adapter circuit extended ipac-x integrates all necessary functions for a host based isdn access solution on a single chip. it is based on the ipac psb 2115, and provides enhanced features and functionality. it includes the s-transceiver (layer 1), an hdlc controller for the d-channel and two protocol controllers for each b-channel. they can be used for hdlc protocol or transparent access. the system integration is simplified by several configurations of the parallel microcontroller interface selected via pin strapping. they include multiplexed and demultiplexed interface selection as well as the optional indirect register access mechanism which reduces the number of necessary registers in the address space to 2 locations. the ipac-x also provides a serial control interface (sci). the fifo size of the cyclic b-channel buffers is 128 bytes per channel and per direction, with programmable block size (threshold). besides te mode the s-transceiver supports other terminal relevant operation modes like line termination subscriber side (lt-s) and line termination trunk side (lt-t). a multi-line isdn solution to support both s and u line coding is simplified as well as multi-line solution with up to 3 s-interfaces. an auxiliary i/o port has been added with interrupt capabilities on two input lines. these programmable i/o lines may be used to connect peripheral components to the ipac-x which need software control or have to forward status information to the host. three programmable led outputs can be used to indicate certain status information, one of them is capable to indicate the activation status of the s-interface automatically. the ipac-x is produced in advanced cmos technology. 4 .com u datasheet
ipac-x psb/psf 21150 overview data sheet 14 2003-01-30 table 1 comparison of the ipac-x with the previous version ipac: ipac-x psb 21150 ipac psb 2115 operating modes te, lt-t, lt-s, nt, int. nt te, lt-t, lt-s, int. nt supply voltage 3.3 v  5 % 5 v  5 % technology cmos cmos package p-mqfp-64 / p-tqfp-64 p-mqfp-64 / p-tqfp-64 transceiver transformer ratio for the transmitter receiver 1:1 1:1 2:1 2:1 test functions - dig. loop via layer 2 (tlp) - layer 1 disable (dis_tr) - analog loop (lp_a-bit, exlp-bit, arl) - dig. loop via layer 2(tlp) - layer 1 disable (tem) - analog loop (arl) microcontroller interface serial interface (sci) 8-bit parallel interface: motorola mux siemens/intel mux siemens/intel non-mux direct/ indirect addressing not provided 8-bit parallel interface: motorola mux siemens/intel mux siemens/intel non-mux crystal 7.68 mhz 7.68 mhz buffered 7.68 mhz output provided provided controller data access to iom-2 timeslots all timeslots; various possibilities of data access restricted access to b- and ic-channel data control and manipulation various possibilities of data control and data manipulation (enable/ disable, shifting, looping, switching) b- and ic-channel looping iom-2 iom-2 interface double clock (dcl), bit clock pin (bcl), serial data strobe 1 (sds1) serial data strobe 2 (sds2) double clock (dcl), bit clock (bcl), serial data strobe (sds) 4 .com u datasheet
ipac-x psb/psf 21150 overview data sheet 15 2003-01-30 monitor channel programming provided (mon0, 1, 2, ..., 7) provided (mon0 or 1) c/i channels ci0 (4 bit), ci1 (4/6 bit) ci0 (4 bit), ci1 (6 bit) layer 1 state machine with changes for correspondence with the actual itu specification layer 1 state machine in software possible not possible support of idsl (144kbit/s) provided (hdlc controller access, sds1/2 signals active) not provided d-channel hdlc support d- and b-channel timeslots; non-auto mode, transparent mode 0-2, extended transparent mode d-channel timeslot; auto mode, non-auto mode, transparent mode 1-3 d-channel fifo size 64 bytes cyclic buffer per direction with programmable fifo thresholds 2x32 bytes buffer per direction b-channel hdlc support d- and b-channel timeslots; non-auto mode, transparent mode 0-2, extended transparent mode d-channel timeslot; non-auto mode, transparent mode 0,1 extended transparent mode b-channel fifo size 128 bytes cyclic buffer per direction for each channel with programmable fifo thresholds 2x64 bytes buffer per direction reset sources res input watchdog c/i code change eaw pin software reset rst input watchdog c/i code change eaw pin interrupt output signals int low active (open drain) by default, reprogrammable to high active (push-pull) low active int ipac-x psb 21150 ipac psb 2115 4 .com u datasheet
ipac-x psb/psf 21150 overview data sheet 16 2003-01-30 8-bit auxiliary interface provided provided pcm interface not provided provided functions fbout, int0/1 provided provided reset signals res input signal rsto output signal res input/output signal pin sclk 1.536 mhz 512 khz timeslots of arbitrary lenght not available available (?clock mode 5?) ipac-x psb 21150 ipac psb 2115 4 .com u datasheet
data sheet 17 2003-01-30 type package psb/psf 21150 h p-mqfp-64-1 psb/psf 21150 f p-tqfp-64-1 ipac-x isdn pc adapter circuit psb/psf 21150 v 1.4 p-mqfp-64-1, -2, -3, -8 p-mqfp-64-1 p-tqfp-64-1 1.1 features  single chip host based isdn solution  based on ipac psb 2115, integrating isac-s and hscx-te functionality  8-bit parallel microcontroller interface, motorola and siemens/intel bus type multiplexed or non-multiplexed, direct-/indirect register addressing  serial control interface (sci)  microcontroller access to all iom-2 timeslots  various types of protocol support (non-auto mode, transparent mode, extended transparent mode)  b-channel hdlc controllers with 128 byte fifos  flexible access to 18-bit timeslots (2b+d) on iom-2 for idsl support  d-channel hdlc controller with 64 byte fifos  iom-2 interface in te, lt-t, lt-s and nt mode, single/double clocks and two strobe signals  d-channel priority handler on iom-2 for intelligent nt applications  monitor channel handler (master/slave)  iom-2 monitor and c/i-channel protocol to control peripheral devices  full duplex 2b+d s/t-interface transceiver according to itu-t i.430  conversion of the frame structure between the s/t-interface and iom-2  receive timing recovery  d-channel access control  activation and deactivation procedures with automatic activation from power down state  access to s and q bits of s/t-interface 4 .com u datasheet
ipac-x psb/psf 21150 overview data sheet 18 2003-01-30  adaptively switched receive thresholds  auxiliary interface with general purpose i/o pins and led drivers  two programmable timers  watchdog timer  test loops  sophisticated power management for restricted power mode  power supply 3.3 v  3.3 v output drivers, inputs are 5 v safe  advanced cmos technology 4 .com u datasheet
ipac-x psb/psf 21150 overview data sheet 19 2003-01-30 1.2 logic symbol the logic symbol gives an overview of the ipac-x functions. it must be noted that not all functions are available simultaneously, but depend on the selected mode. pins which are marked with a ? * ? are multiplexed and not available in all modes. figure 1 logic symbol of the ipac-x ad0...4 a0...7 cs rd / ds wr / r/w ale res int du ad5 / scl ad6 / sdr ad7 / sdx rsto mode0 xtal2 xtal1 7.68 mhz output 7.68 mhz 100ppm sr1 sr2 sx1 sx2 s interface mode1 / eaw amode mode setting c768 dd fsc dcl bcl/ sclk sds1/2 vss vssa vdd vdda +3.3v 0v iom-2 interface host interface aux0...7 * int0/1 * ch0...2 * aux6/7* / acl led output iom channel select external interrupts general purpose i/o auxiliary interface 21150_17 2 3 3 2 tp 0v mbit * multiframe sync. 4 .com u datasheet
ipac-x psb/psf 21150 overview data sheet 20 2003-01-30 1.3 typical applications the ipac-x can be used in a variety of applications like  isdn pc adapter card for s interface ( figure 2 )  isdn pc adapter card for u or s interface ( figure 3 )  isdn voice/data terminal ( figure 4 )  isdn stand-alone terminal with pots interface ( figure 5 ) an isdn adapter card for a pc is built around the ipac-x using a usb, pci or isa plug and play interface device depending on the required pc interface. the ipac-x can be connected to any bus interface logic as it provides a standard 8-bit parallel c interface and a serial control interface (sci). figure 2 isdn pc adapter card for s interface ipac-x psb 21150 s interface interface logic (usb, pci, isa pnp) host interface 21150_02 4 .com u datasheet
ipac-x psb/psf 21150 overview data sheet 21 2003-01-30 an isdn adapter card which supports both u and s interface may be realized using the ipac-x together with the psb 21911 iec-q te. the s interface may be configured for te or lt-s mode supporting intelligent nt applications. figure 3 isdn pc adapter card for u or s interface iec-q te psb 21911 u interface interface logic (usb, pci, isa pnp) host interface 21150_02 ipac-x psb 21150 s * interface *) optional for nt applications iom-2 4 .com u datasheet
ipac-x psb/psf 21150 overview data sheet 22 2003-01-30 the figure below shows a voice data terminal developed on a pc card where the ipac- x provides its functionality as data controller and s interface within a two chip solution. during isdn calls the psb 2163 arcofi-sp provides speakerphone functions and includes a dtmf generator. additionally, a dtmf generator of keypad may be connected to the auxiliary interfce of the ipac-x. the fir figure 4 isdn voice/data terminal ipac-x psb 21150 s interface interface logic (usb, pci, isa pnp) host interface 21150_02 arcofi-sp psb 2163 iom-2 dtmf receiver or keypad 4 .com u datasheet
ipac-x psb/psf 21150 overview data sheet 23 2003-01-30 the ipac-x can be integrated in a microcontroller based stand-alone terminal that is connected to the communications interface of a pc. the sicofi2-te psb 2132 enables connection of analog terminals (e.g. telephone or fax) to the dual channel pots interface. figure 5 isdn stand-alone terminal with pots interface 21150_02 ipac-x psb 21150 s interface c pc interface slicofi-2 peb 3265 slic-x peb 4265 pots usb, v.24, ... slic-x peb 4265 duslic 4 .com u datasheet
ipac-x psb/psf 21150 pin configuration data sheet 24 2003-01-30 2 pin configuration figure 6 pin configuration of the ipac-x sr2 ipac-x psb 21150 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 31 32 28 29 30 25 26 27 22 23 24 19 20 21 17 18 50 49 53 52 51 56 55 54 59 58 57 62 61 60 64 63 sr1 vdda vssa sx2 sx1 n.c. ale wr / r/w rd / ds xtal2 xtal1 vss vdd a1 amode vss int n.c. cs tp res rsto vss bcl / sclk du dd fsc dcl vss vss vdd mode0 mode1 / eaw acl aux7 aux6 aux5 aux4 aux3 21550_22 vdd ad0 ad1 ad2 ad3 ad4 scl / ad5 sdr / ad6 sdx / ad7 a0 vdd vss a5 a4 a3 a2 sds2 c768 a7 a6 aux2 aux1 aux0 sds1 p-mqfp-64-1 p-tqfp-64-1 4 .com u datasheet
ipac-x psb/psf 21150 pin configuration data sheet 25 2003-01-30 table 2 ipac-x pin definitions and functions pin no. mqfp-64 tqfp-64 symbol input (i) output (o) open drain (od) function host interface 19 20 21 22 23 24 25 26 a0 a1 a2 a3 a4 a5 a6 a7 i i i i i i i i  non-multiplexed bus mode: address bus address bus transfers addresses from the microcontroller to the ipac-x. for indirect address mode only a0 is valid (a1-a7 to be connected to vdd).  multiplexed bus mode: not used in multiplexed bus mode. in this case a0- a7 should directly be connected to vdd. 9 10 11 12 13 ad0 ad1 ad2 ad3 ad4 i/o i/o i/o i/o i/o  multiplexed bus mode: address/data bus transfers addresses from the microcontroller to the ipac-x and data between the microcontroller and the ipac-x.  non-multiplexed bus mode: data bus transfers data between the microcontroller and the ipac-x. 14 ad5 scl i/o i  multiplexed bus mode: address/data bus address/data line ad5 if the parallel interface is selected.  non-multiplexed bus mode: data bus data line d5 if the parallel interface is selected. sci - serial clock clock signal of the sci interface if a serial interface is selected. 4 .com u datasheet
ipac-x psb/psf 21150 pin configuration data sheet 26 2003-01-30 15 ad6 sdr i/o i  multiplexed bus mode: address/data bus address/data line ad6 if the parallel interface is selected.  non-multiplexed bus mode: data bus data line d6 if the parallel interface is selected. sci - serial data receive receive data line of the sci interface if a serial interface is selected. 16 ad7 sdx i/o od  multiplexed bus mode: address/data bus address/data line ad7 if the parallel interface is selected.  non-multiplexed bus mode: data bus data line d7 if the parallel interface is selected. sci - serial data transmit transmit data line of the sci interface if a serial interface is selected. 39 rd ds i i read indicates a read access to the registers (siemens/ intel bus mode). data strobe the rising edge marks the end of a valid read or write operation (motorola bus mode). 40 wr r/w i i write indicates a write access to the registers (siemens/ intel bus mode). read/write a high identifies a valid host access as a read operation and a low identifies a valid host access as a write operation (motorola bus mode). table 2 ipac-x pin definitions and functions (cont?d) pin no. mqfp-64 tqfp-64 symbol input (i) output (o) open drain (od) function 4 .com u datasheet
ipac-x psb/psf 21150 pin configuration data sheet 27 2003-01-30 41 ale i address latch enable a high on this line indicates an address on the external address/data bus (multiplexed bus type only). ale also selects the microcontroller interface bus type (multiplexed or non multiplexed). 3cs i chip select a low level indicates a microcontroller access to the ipac-x. 1int od (o) interrupt request int becomes active low (open drain) if the ipac-x requests an interrupt. the polarity can be reprogrammed to high active with push-pull chracteristic. 5res i reset a low on this input forces the ipac-x into a reset state. 38 amode i address mode selects between direct (0) and indirect (1) register access mode. iom-2 interface 52 fsc i/o frame sync 8-khz frame synchronization signal. 53 dcl i/o data clock iom-2 interface clock signal (double clock) (e.g 1.536 mhz in te mode). table 2 ipac-x pin definitions and functions (cont?d) pin no. mqfp-64 tqfp-64 symbol input (i) output (o) open drain (od) function 4 .com u datasheet
ipac-x psb/psf 21150 pin configuration data sheet 28 2003-01-30 49 bcl/ sclk o bit clock/s-clock te-mode: bit clock output, identical to iom-2 data rate (dcl/ 2). lt-t mode: 1.536 mhz output synchronous to s-interface. nt / lt-s mode: bit clock output derived from the dcl input clock divided by 2. 51 dd i/o (od) data downstream iom-2 data signal in downstream direction. 50 du i/o (od) data upstream iom-2 data signal in upstream direction. 29 sds1 o serial data strobe 1 programmable strobe signal for time slot and/or d- channel indication on iom-2. 28 sds2 o serial data strobe 2 programmable strobe signal for time slot and/or d- channel indication on iom-2. auxiliary interface 30 31 32 aux0 aux1 aux2 i/o (od) i/o (od) i/o (od)  te-mode: auxiliary port 0 - 2 (input/output) these pins are individually programmable as general input/output. the state of the pin can be read from (input) / written to (output) a register.  lt-t/lt-s/nt mode: ch0-2 - iom-2 channel select (input) these pins select one of eight channels on the iom- 2 interface. 64 aux3 i/o (od) auxiliary port 3 (input/output) this pin is programmable as general input/output. the state of the pin can be read from (input) / written to (output) a register. table 2 ipac-x pin definitions and functions (cont?d) pin no. mqfp-64 tqfp-64 symbol input (i) output (o) open drain (od) function 4 .com u datasheet
ipac-x psb/psf 21150 pin configuration data sheet 29 2003-01-30 63 aux4 i/o (od)  auxiliary port 4 (input/output) this pin is programmable as general input/output. the state of the pin can be read from (input) / written to (output) a register.  mbit (input/output) if acfg2.a4sel is set to ?1?, pin aux4 is used as m-bit input (lt-s / nt / int. nt mode) or as m-bit output (te / lt-t mode) for multiframe synchronization. 62 aux5 i/o (od)  auxiliary port 5 (input/output) this pin is programmable as general input/output. the state of the pin can be read from (input) / written to (output) a register.  fbout - fsc/bcl output if acfg2.a5sel is set to ?1?, pin aux5 outputs either an fsc signal or a bcl signal selected via acfg2.fbs. 61 aux6 i/o (od) int0 this pin is programmable as general input/output. the state of the pin can be read from (input) / written to (output) a register. additionally, as input it can generate a maskable interrupt to the host, which is either edge or level triggered. an internal pull up resistor is connected to this pin (open drain mode only), if push pull characteristic is selected no pull up is available. as output an led can directly be connected to this pin. table 2 ipac-x pin definitions and functions (cont?d) pin no. mqfp-64 tqfp-64 symbol input (i) output (o) open drain (od) function 4 .com u datasheet
ipac-x psb/psf 21150 pin configuration data sheet 30 2003-01-30 60 aux7 i/o (od) int1 this pin is programmable as general input/output. the state of the pin can be read from (input) / written to (output) a register. additionally, as input it can generate a maskable interrupt to the host, which is either edge or level triggered. an internal pull up resistor is connected to this pin (open drain mode only), if push pull characteristic is selected no pull up is available. as output an led can directly be connected to this pin. sgo instead of the above described function, aux7 can also be programmed to output the s/g bit signal from the iom-2 dd line. miscellaneous 43 44 sx1 sx2 o o s-bus transmitter output (positive) s-bus transmitter output (negative) 47 48 sr1 sr2 i i s-bus receiver input s-bus receiver input 35 36 xtal1 xtal2 i o crystal 1 connection for a crystal or used as external clock input. 7.68 mhz clock or crystal required. crystal 2 connection for a crystal. not connected if an external clock is supplied to xtal1 57 mode0 i mode 0 select a low selects te-mode and a high selects lt-t / lt-s mode (see mode1/eaw ). table 2 ipac-x pin definitions and functions (cont?d) pin no. mqfp-64 tqfp-64 symbol input (i) output (o) open drain (od) function 4 .com u datasheet
ipac-x psb/psf 21150 pin configuration data sheet 31 2003-01-30 58 mode1 eaw i i the pin function depends on the setting of mode0. if mode0=1: mode 1 select a low selects lt-t mode and a high selects lt- s mode. if mode0=0: external awake if a falling edge on this input is detected, the ipac- x generates an interrupt and, if enabled, a reset pulse. 59 acl o activation led this pin can either function as a programmable output or it can automatically indicate the activated state of the s interface by a logic ?0?. an led with pre-resistance may directly be connected to acl . 27 c768 o clock output a 7.68 mhz clock is output to support other devices. this clock is not synchronous to the s interface. 6rsto od reset output low active reset output, either from a watchdog timeout or programmed by the host. 4tpi test pin must be connected to v ss . 2, 42 n.c. i not connected power supply 8, 18, 33, 56 v dd ? digital power supply voltage (3.3 v  5%) 46 v dda ? analog power supply voltage (3.3 v  5%) table 2 ipac-x pin definitions and functions (cont?d) pin no. mqfp-64 tqfp-64 symbol input (i) output (o) open drain (od) function 4 .com u datasheet
ipac-x psb/psf 21150 pin configuration data sheet 32 2003-01-30 7, 17, 34, 37, 54, 55 v ss ? digital ground (0 v) 45 v ssa ? analog ground (0 v) table 2 ipac-x pin definitions and functions (cont?d) pin no. mqfp-64 tqfp-64 symbol input (i) output (o) open drain (od) function 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 33 2003-01-30 3 description of functional blocks 3.1 general functions a nd device architecture figure 7 shows the architecture of the ipac-x containing the following functions:  s/t-interface transceiver  serial or parallel microcontroller interface  two b-channel hdlc-controller with 128 byte flfos per channel and per direction with programmable fifo block size (threshold)  one d-channel hdlc-controller with 64 byte flfos per direction with programmable fifo block size (threshold)  iom-2 interface for terminal (te mode), linecard (lt-t or lt-s) or nt applications  d-channel access mechanism in all modes  d-channel priority handler on iom-2 for intelligent nt applications  c/i- and monitor channel handler  auxiliary interface with interrupt and general purpose i/o lines and led drivers  clock and timing generation  digital pll to synchronize the transceiver to the s/t interface  reset generation (watchdog timer) the functional blocks are described in the following chapters. figure 7 functional block diagram of the ipac-x reset interrupt -generation sci 8-bit parallel iom-2 interface iom-2 handler b-channel hdlc rx/tx fifos b-channel hdlc rx/tx fifos d-channel hdlc rx/tx fifos auxiliary interface s transceiver c/i tic mon handler host interface osc dpll host peripheral devices i/o- and interrupt lines 21150_18 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 34 2003-01-30 3.2 microcontroller interfaces the ipac-x supports a serial or a parallel microcontroller interface. for applications where no controller is connected to the ipac-x microcontroller interface programming is done via the iom-2 monitor channel from a master device. in such applications the ipac-x operates in the iom-2 slave mode (refer to the corresponding chapter of the iom-2 monitor handler). this mode is suitable for control functions (e.g. programming registers of the s/t transceiver), but the band width is not sufficient for access to the hdlc controllers. the interface selections are all done by pinstrapping (see table 3 ). the selection pins are evaluated when the reset input res is active. for the pin levels stated in the tables the following is defined: ?high?, ?low?:dynamic pin; value must be ?high? or ?low? only during reset v dd , v ss : static pin; pin must statically be strapped to ?high? or ?low? level edge: dynamic pin; any transition (?high? to ?low?, ?low? to ?high?) has occured. note: for a selected interface mode which doesn?t need all input selection and address pins the unused pins must be tied to v dd or v ss . the interfaces contain all circuitry necessary for the access to programmable registers, status registers and hdlc fifos. the mapping of all these registers can be found in chapter 4 . the microcontroller interface also provides an interrupt request at pin int which is low active by default but can be reprogrammed to high active, a reset input pin res and a reset output pin rsto . the interrupt request pin int becomes active if the ipac-x requests an interrupt and this can occur at any time. table 3 host interface selection pins serial /parallel interface pins interface type/mode wr (r/w ) rd (ds ) cs ale v dd motorola ?high? ?high? parallel ?high? v ss siemens/intel non-mux edge siemens/intel mux v ss v ss serial ?high? v ss serial control interface(sci) no host interface v ss v ss iom-2 monitor channel (slave mode) 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 35 2003-01-30 3.2.1 serial control interface (sci) the serial control interface (sci) is compatible to the spi interface of motorola or siemens c510 family of microcontrollers. the sci consists of 4 lines: scl, sdx, sdr and cs . data is transferred via the lines sdr and sdx at the rate given by scl. the falling edge of cs indicates the beginning of a serial access to the registers. the ipac-x latches incoming data at the rising edge of scl and shifts out at the falling edge of scl. each access must be terminated by a rising edge of cs . data is transferred in groups of 8 bits with the msb first. figure 8 shows the timing of a one byte read/write access via the serial control interface. figure 8 serial control interface timing 7 654321076543210 header address c s s cl s dr s dx 7 654321 c s s cl s dr s dx 76543210 data 0 data '0' write header address 7 654321 0 7 654321 0 '1' read 21150_19 write access read access 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 36 2003-01-30 3.2.1.1 programming sequences the basic structure of a read/write access to the ipac-x registers via the serial control interface is shown in figure 9 . figure 9 serial control interface timing a new programming sequence starts with the transfer of a header byte. the header byte specifies different programming sequences allowing a flexible and optimized access to the individual functional blocks of the ipac-x. the possible sequences for access to the complete address range 00 h -7f h are listed in table 4 and described after that. note: in order to access the address range 00 h -7f h bit 2 of the header byte must be set to ?0? (header bytes 40 h , 48 h , 43 h , 41 h , 49 h ), and for the addresses 80 h -ff h bit 2 must be set to ?1? (header bytes 44 h , 4c h , 47 h , 45 h , 4d h ). table 4 header byte code header byte sequence sequence type 40 h /44 h adr-data-adr-data alternating read/write (non-interleaved) 48 h /4c h alternating read/write (interleaved) 43 h /47 h adr-data-data-data read-only/write-only (constant address) 41 h /45 h read and following write-only (non-interleaved) 49 h /4d h read and following write-only (interleaved) sdr write sequence: read sequence: sdr 7 076 07 0 write data address read data 0 1 write read 7 076 07 0 header byte 2 byte 3 header byte 2 byte 3 sdx address 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 37 2003-01-30 header 40 h : non-interleaved a-d-a-d sequences the non-interleaved a-d-a-d sequence gives direct read/write access to the complete address range and can have any length. in this mode sdx and sdr can be connected together allowing data transmission on one line. example for a read/write access with header 40 h : header 48 h : interleaved a-d-a-d sequences the interleaved a-d-a-d sequence gives direct read/write access to the complete address range and can have any length. this mode allows a time optimized access to the registers by interleaving the data on sdx and sdr (sdr and sdx must not be connected together). example for a read/write access with header 48 h : header 43 h : read-/write- only a-d-d-d sequence (constant address) this mode can be used for a fast access to the hdlc fifo data. any address (rdadr, wradr) in the range 00 h -1f h and 6a h /7a h gives access to the current fifo location selected by an internal pointer which is automatically incremented with every data byte following the first address byte. the sequence can have any length and is terminated by the rising edge of cs . example for a write access with header 43 h : example for a read access with header 43 h : sdr header wradr wrdata rdadr rdadr wradr wrdata sdx rddata rdata sdr header wradr wrdata rdadr rdadr wradr wrdata sdx rddata rddata sdr header wradr wrdata (wradr) wrdata (wradr) wrdata (wradr) wrdata (wradr) wrdata (wradr) wrdata (wradr) wrdata (wradr) sdx sdr header rdadr sdx rddata (rdadr) rddata (rdadr) rddata (rdadr) rddata (rdadr) rddata (rdadr) rddata (rdadr) rddata (rdadr) 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 38 2003-01-30 header 41 h : non-interleaved a-d-d-d sequence this sequence allows in front of the a-d-d-d write access a non-interleaved a-d-a-d read access. this mode is useful for reading status information before writing to the hdlc xfifo. the termination condition of the read access is the reception of the wradr. the sequence can have any length and is terminated by the rising edge of cs . example for a read/write access with header 41 h : header 49 h : interleaved a-d-d-d sequence this sequence allows in front of the a-d-d-d writ e access an interleaved a-d-a-d read access. this mode is useful for reading status information before writing to the hdlc xfifo. the termination condition of the read access is the reception of the wradr. the sequence can have any length and is terminated by the rising edge of the cs line. example for a read/write access with header 49 h : sdr header rdadr rdadr wradr wrdata (wradr) wrdata (wradr) wrdata (wradr) sdx rddata rddata sdr header rdadr rdadr wradr wrdata (wradr) wrdata (wradr) wrdata (wradr) sdx rddata rddata 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 39 2003-01-30 3.2.2 parallel microcontroller interface the 8-bit parallel microcontroller interface with address decoding on chip allows easy and fast microcontroller access. the parallel interface of the ipac-x provides three types of  p buses which are selected via pin ale. the bus operation modes with corresponding pins are listed in table 5 . the occurrence of an edge on ale, either positive or negative, at any time during the operation immediately selects the interface type (3). a return to one of the other interface types is possible only if a hardware reset is issued. note: if the multiplexed address/data bus type (3) is selected, the unused address pins a0-a7 must be tied to v dd . a read/write access to the ipac-x registers can be done in multiplexed or non- multiplexed mode:  in non-multiplexed mode the register address must be applied to the address bus (a0- a7) for the data access via the data bus (ad0-ad7).  in multiplexed mode the address on the address/data bus (ad0-ad7) is latched in by ale before a data read/write access via the same bus is performed. the ipac-x provides two different ways to address the register contents which is selected with the amod pin (?0? = direct mode, ?1? = indirect mode). figure 10 illustrates both register addressing modes. direct address mode (amod = ?0?): the register address to be read or written is directly set in the way described above. indirect address mode (amod = ?1?): only the lsb of the address is used to select either the address register (a0 = ?0?) or t he data register (a0 = ?1?). the microcontroller writes the register address to the address r egister before it reads/writes data from/to the corresponding data register. in indirect address mode the ipac-x evaluates no address line except the least significant address bit. the remaining address lines must not be left open but have to be tied to logical ?1?. table 5 bus operation modes bus mode pin ale control pins (1) motorola v dd cs , r/w , ds (2) siemens/intel non-multiplexed v ss cs , wr , rd (3) siemens/intel multiplexed edge cs , wr , rd , ale 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 40 2003-01-30 figure 10 direct/indirect register address mode 21150_11 00h 01h : 8eh 8fh data : address address a0-7 address 0h data 1h data ad0-7 indirect address mode mode2:amod=1 direct address mode mode2:amod=0 data ad0-7 address a0 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 41 2003-01-30 3.2.3 interrupt structure special events in the device are indicated by means of a single interrupt output, which requests the host to read status information from the device or transfer data from/to the device. since only one interrupt request pin (int ) is provided, the cause of an interrupt must be determined by the host reading the interrupt status registers of the device. the structure of the interrupt status registers is shown in figure 11 . figure 11 interrupt status and mask registers icd mos tran aux cic st icb ica icd mos tran aux cic st icb ica sti10 sti11 sti20 sti21 stov10 stov11 stov20 stov21 sti10 sti11 sti20 sti21 stov10 stov11 stov20 stov21 istab sti ack10 ack11 ack20 ack21 asti xdu xpr rfo rpf rme xdu xpr rfo rpf rme xdu xpr rfo rpf rme xdu xpr rfo rpf rme maskb msti ci1e cic1 cic0 cir0 cix1 xdu xmr xpr rfo rpf rme maskd xdu xmr xpr rfo rpf rme istad mie mre mab mda mer mdr sqw sqc ric ld masktr istatr sqw sqc ric ld mask ista 21150_16.vsd interrupt istab maskb b-channel a b-channel b mocr mosr int0 int1 tin1 tin2 wov auxm auxi int0 int1 tin1 tin2 wov eaw eaw d-channel 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 42 2003-01-30 all eight interrupt bits in the ista register point at interrupt sources in the d-channel hdlc controller (icd), b-channel hdlc controllers (ica, icb), monitor- (mos) and c/ i- (cic) handler, the transceiver (tran), the synchronous transfer (st) and the auxiliary interrupts (auxi). all these interrupt sources are described in the corresponding chapters. after the device has requested an interrupt activating the interrupt pin (int ), the host must read first the device interrupt status register (ista) in the associated interrupt service routine. the interrupt pin of the device remains active until all interrupt sources are cleared by reading the corresponding interrupt register. therefore it is possible that the interrupt pin is still active when the interrupt service routine is finished. each interrupt indication of the interrupt status registers can selectively be masked by setting the respective bit in the mask register. for some interrupt controllers or hosts it might be necessary to generate a new edge on the interrupt line to recognize pending interrupts. this can be done by masking all interrupts at the end of the interrupt service routine (writing ff h into the mask register) and write back the old mask to the mask register. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 43 2003-01-30 3.2.4 reset generation figure 12 shows the organization of the reset generation of the device. . figure 12 reset generation reset source selection the internal reset sources c/i code change, eaw and watchdog can be output at the low active reset pin rsto . the selection of these reset sources can be done with the rss2,1 bits in the mode1 register according table 6 . the setting rss2,1 = ?01? is reserved for further use. in this case no reset is output at rsto . the internal reset sources sets the mode1 register to its reset value. c/i code change (exchange awake) eaw (subscriber awake) watchdog  1 125s  t  250s 125s  t  250s software reset register (sres) reset functional block b-channels (70 h -8f h ) d, c/i-channel (00 h -2f h ) transceiver (30 h -3f h ) iom-2 (40 h -5b h ) mon-channel (5c h -5f h ) reset mode1 register internal reset of all registers  1 rss1 rss2,1 '0' '1' '1x' '00' rss2,1 '01' ' 01 ' pin rsto pin res 21150_21 (reserved)  1 125s  t  250s 125s  t  250s general config (60 h -6f h ) 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 44 2003-01-30  c/i code change (exchange awake) a change in the downstream c/i channel (c/i0) generates an external reset pulse of 125 s  t  250 s.  eaw (subscriber awake) a low level on the eaw input starts the oscillator from the power down state and generates a reset pulse of 125 s  t  250 s.  watchdog timer after the selection of the watchdog timer (rss = ?11?) an internal timer is reset and started. during every time period of 128 ms the microcontroller has to program the wtc1- and wtc2 bits in the following sequence to reset and restart the watchdog timer: if not, the timer expires and a wov-interrupt (ista register) together with a reset pulse of 125 s is generated. deactivation of the watchdog timer is only possible with a hardware reset. external reset input at the res input an external reset can be applied forcing the device in the reset state. this external reset signal is additionally fed to the rsto output. the length of the reset signal is specified in chapter 5.9 . after an external reset from the res pin all registers of the device are set to its reset values (see register description in chapter 4 ). software reset register (sres) every main functional block of the device can be reset separately by software setting the corresponding bit in the sres register. a reset to external devices can also be controlled in this way. the reset state is activated by setting the corresponding bit to ?1? and onchip table 6 reset source selection rss2 bit 1 rss1 bit 0 c/i code change eaw watchdog timer 0 0 -- -- -- 0 1 reserved 10xx-- 1 1 -- -- x wtc1 wtc2 1. 2. 1 0 0 1 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 45 2003-01-30 logic resets this bit again automatically after 4 bcl clock cycles. the address range of the registers which will be reset at each sres bit is listed in figure 12 . 3.2.5 timer modes the ipac-x provides two timers which can be used for various purposes. each of them provides two modes ( table 7 ), a count down timer interrupt, i.e. an interrupt is generated only once after expiration of the selected period, and a periodic timer interrupt, which means an interrupt is generated continuously after every expiration of that period. when the programmed period has expired an interrupt is generated and indicated in the auxiliary interrupt status ista.aux. the source of the interrupt can be read from auxi (tin1, tin2) and each of the interrupt sources can be masked in auxm. figure 13 timer interrupt status registers table 7 ipac-x timers address register modes period 24 h timr1 periodic 64 ... 2048 ms count down 64 ms ... 14.336 s 65 h timr2 periodic 1 ... 63 ms count down 1 ... 63 ms st icb mos tran icd cic aux interrupt ista mask mos tran aux ica st icb icd cic ica wov tin2 tin1 wov tin2 tin1 auxm auxi int1 int0 int1 int0 eaw eaw 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 46 2003-01-30 timer 1 the host controls the timer 1 by setting bit cmdrd.sti to start the timer and by writing register timr1 to stop the timer. after time period t1 an interrupt (auxi.tin1) is generated continuously if cnt=7 or a single interrupt is generated after timer period t if cnt<7 ( figure 14 ). figure 14 timer 1 register timer 2 the host starts and stops timer 2 in timr2.cnt ( figure 15 ). if timr2.tmd=0 the timer is operating in count down mode, for timr2.tmd=1 a periodic interrupt auxi.tin2 is generated. the timer length (for count down ti mer) or the timer period (for periodic timer), respectively, can be configured to a value between 1 - 63 ms (timr2.cnt). figure 15 timer 2 register 21150_14 cnt value 7 6 5 4 3 2 1 0 24 h expiration period t1 = (value + 1) x 0.064 sec retry counter 0 ... 6 : count down timer t = cnt x 2.048 sec + t1 7 : periodic timer t = t1 timr1 21150_14 cnt 7 6 5 4 3 2 1 0 65 h timer count 0 : timer off 1 ... 63 : 1 ... 63 ms timer mode 0 : count down timer 1 : periodic timer timr2 tmd 0 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 47 2003-01-30 3.2.6 activation indication via pin acl the activated state of the s-interface is directly indicated via pin acl (activation led). an led with pre-resistance may directly be connected to this pin and a low level is driven on acl as soon as the layer 1 state machine reaches the activated state (see figure 16 ). figure 16 acl indication of activated layer 1 by default (acfg2.acl=0) the state of layer 1 is indicated at pin acl . if the automatic indication of the activated layer 1 is not required, the state on pin acl can also be controlled by the host (see figure 17 ). if acfg2.acl=1 the led on pin acl can be switched on (acfg2.led=1) and off (acfg2.led=0) by the host. figure 17 acl configuration 21150_15 ipac-x layer 1 acfg2:led 0 : off 1 : on acfg2:acl '1' '0' acl +5v s interface 3.3 v 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 48 2003-01-30 3.3 s/t-interface the layer-1 functions for the s/t interface of the ipac-x are: ? line transceiver functions for the s/t interface according to the electrical specifications of itu-t i.430; ? conversion of the frame structure between iom-2 and s/t interface; ? conversion from/to binary to/from pseudo-ternary code; ? level detection ? receive timing recovery for point-topoint, passive bus and extended passive bus configuration ? s/t timing generation using iom-2 timing synchronous to system, or vice versa; ? d-channel access control and priority handling; ? d-channel echo bit generation by handling of the global echo bit; ? activation/deactivation procedures, triggered by primitives received over the iom-2 c/i channel or by info's received from the line; ? execution of test loops. the wiring configurations in user premises, in which the ipac-x can be used, are illustrated in figure 18 . 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 49 2003-01-30 figure 18 wiring configurations in user premises 21150_20 ipac-x ipac-x tr te tr lt-s  1000 m 1) ipac-x ipac-x tr lt-t tr nt  1000 m 1) point-to-point configurations ipac-x tr tr nt / lt-s  100 m ipac-x ipac-x tr te1 tr nt / lt-s  10 m extended passive bus ipac-x te8  25 m  500 m .... ipac-x te1  10 m ipac-x te8 .... short passive bus tr: terminating resistor 1) the maximum line attenuation tolerated by the ipac-x is 7 db at 96 khz. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 50 2003-01-30 3.3.1 s/t-interface coding transmission over the s/t-interface is performed at a rate of 192 kbit/s. 144 kbit/s are used for user data (b1+b2+d), 48 kbit/s are used for framing and maintenance information. line coding the following figure illustrates the line code. a binary one is represented by no line signal. binary zeros are coded with alternating positive and negative pulses with two exceptions: for the required frame structure a code violation is indicated by two consecutive pulses of the same polarity. these two pulses can be adjacent or separated by binary ones. in bus configurations a binary zero always overwrites a binary one. figure 19 s/t -interface line code frame structure each s/t frame consists of 48 bits at a nominal bit rate of 192 kbit/s. for user data (b1+b2+d) the frame structure applies to a data rate of 144 kbit/s (see figure 20 ). in the direction te  nt the frame is transmitted with a two bit offset. for details on the framing rules please refer to itu i.430 section 6.3. the following figure illustrates the standard frame structure for both directions (nt  te and te  nt) with all framing and maintenance bits. 011 code violation 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 51 2003-01-30 figure 20 frame structure at reference points s and t (itu i.430) note: the itu i.430 standard specifies s1 - s5 for optional use. ? f framing bit f = (0b)  identifies new frame (always positive pulse, always code violation) ? l. d.c. balancing bit l. = (0b)  number of binary zeros sent after the last l. bit was odd ? d d-channel data bit signaling data specified by user ? e d-channel echo bit e = d  received e-bit is equal to transmitted d-bit ?f a auxiliary framing bit see section 6.3 in itu i.430 ?n n = ? b1 b1-channel data bit user data ? b2 b2-channel data bit user data ? a activation bit a = (0b)  info 2 transmitted a = (1b)  info 4 transmitted ? s s-channel data bit s 1 channel data (see note below) ? m multiframing bit m = (1b)  start of new multi-frame f a 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 52 2003-01-30 3.3.2 s/t-interface multiframing according to itu recommendation i.430 a multi-frame provides extra layer 1 capacity in the te-to-nt direction by using an extra channel between the te and nt (q-channel). the q bits are defined to be the bits in the f a bit position. in the nt-to-te direction the s-channel bits are used for information transmission. one s channel (s1) out of five possible s-channels can be accessed by the ipac-x. in the nt-to-te direction the s-channel bits are used for information transmission. the s and q channels are accessed via the c interface or the iom-2 monitor channel, respectively, by reading/writing the sqr or sqx bits in the s/q channel registers (sqrrx, sqxrx). table 8 shows the s and q bit positions within the multi-frame. table 8 s/q-bit position identification and multi-frame structure frame number nt-to-te f a bit position nt-to-te m bit nt-to-te s bit te-to-nt f a bit position 1 2 3 4 5 one zero zero zero zero one zero zero zero zero s11 s21 s31 s41 s51 q1 zero zero zero zero 6 7 8 9 10 one zero zero zero zero zero zero zero zero zero s12 s22 s32 s42 s52 q2 zero zero zero zero 11 12 13 14 15 one zero zero zero zero zero zero zero zero zero s13 s23 s33 s43 s53 q3 zero zero zero zero 16 17 18 19 20 one zero zero zero zero zero zero zero zero zero s14 s24 s34 s44 s54 q4 zero zero zero zero 1 2 one zero one zero s11 s21 q1 zero 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 53 2003-01-30 te mode after multi-frame synchronization has been established, the q data will be inserted at the upstream (te  nt) f a bit position in each 5th s/t frame (see table 8 ). when synchronization is not achieved or lost, each received f a bit is mirrored to the next transmitted f a bit. multi-frame synchronization is achieved after two complete multi-frames have been detected with reference to f a /n bit and m bit positions. multi-frame synchronization is lost if bit errors in f a /n bit or m bit positions have been detected in two consecutive multi- frames. the synchronization state is indicated by the msyn bit in the s/q-channel receive register (sqrr1). the multi-frame synchronization can be enabled or disabled by programming the mfen bit in the s/q-channel transmit register (sqxr1). nt mode the transceiver in nt mode starts multiframing if sqxr1.mfen is set. after multi-frame synchronization has been established in the te, the q data will be inserted at the upstream (te  nt) f a bit position by the te in each 5th s/t frame, the s data will be inserted at the downstream (nt  te) s bit position in each s/t frame (see table 8 ). interrupt handling for multi-framing to trigger the microcontroller for a multi-frame access an interrupt can be generated once per multi-frame (sqw) or if the received s-channels (te) or q-channel (nt) have changed (sqc). in both cases the microcontroller has access to the multiframe within the duration of one multiframe (5 ms). 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 54 2003-01-30 3.3.3 multiframe synchronization (m-bit) the ipac-x offers the capability to control the start of the multiframe from external signals, so applications which require synchronization between different s-interfaces are possible. such an application is the connection of dect base stations to pbx line cards. for this purpose a multiplexed function of the aux4 pin is used. if the acfg2.a4sel is set to ?1? the pin is not used as general pupose i/o pin but as m-bit input (nt, lt-s) or as m-bit output (te, lt-t). the direction input/output of the pin mbit is automatically selected with the operation mode. figure 21 multiframe synchronization using the m-bit m-bit input (lt-s, nt-mode) the mbit pin can be used to synchronize the multiframe structure between several s-transceivers. multiframe generation must be enabled (sqxr1.mfen=1). the value of mbit is sampled at the start of the f-bit of the s-frame. if the input on mbit is "1", the multiframe counter is reset to frame no. 20 and as a result, the bits f a , m and s are transmitted as logic zero (line = ?1?). if mbit becomes "0" again, the multiframe counter counts 20 frames (starting with frame no. 1) and begins again autonomously. if mbit is kept "1", the multiframe counter is permanently reset and the bits f a , m and s stay at logic zero (line = ?1?). if mbit becomes "0" for only one s-frame, the multiframe- counter reaches frame no. 1 at which a logic one (line = ?0?) is transmitted in the f a and m-bit position and the s11 bit is transmitted. thus, the m-bit can be used to transfer synchronization pulses of any length between different s-interfaces. m-bit output (te, lt-t mode) in te and lt-t mode, the ipac-x outputs the value of the m-bit on the mbit pin. the value of m should be sampled at the falling edge of fsc. 21150_27 s-transceiver (lt-s, nt) s-transceiver (te, lt-t) mbit s-interface mbit m-bit input m-bit output 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 55 2003-01-30 sample time figure 22 sampling time in lt-s / nt mode (m-bit input) frame relationship figure 23 frame relationship in lt-s / nt mode (m-bit input) fsc dcl fsc detected xtal sx1 / sx2 mbit counter reset 20 xtal the sample time of the mbit input is related to the rising edge of fsc at the beginning of an s0 frame -- min: 20 * 1 / xtal -- max: 20 * 1 / xtal + 1 / xtal + 1 / dcl 21150_32 fbit (40x xta l) b1 b2 d b1 b2 d b1 b2 d b1 b2 d 21150_29 s (nt -> te) dd (i) fsc (i) b1 b1 b2 b2 f d d d e e e b1 b1 b2 b2 f d d d e e e '0' or '1' don't care mbit (i) d e m d e '0' or '1' 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 56 2003-01-30 figure 24 frame relationship in te / lt-t mode (m-bit output) 21150_30 s (nt -> te) dd (o) fsc b1 b1 b2 b2 f d d d m e e e e b1 b1 b2 b2 f d d d d e e e e e e e e b2 d b1 b2 d b1 b2 d b1 b2 d b1 d m i-1 m mbit (o) 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 57 2003-01-30 3.3.4 data transfer and delay between iom-2 and s/t te mode in the state f7 (activated) or if the internal layer-1 state machine is disabled and xinf of register tr_cmd is programmed to ?011? the b1, b2, d and e bits are transferred transparently from the s/t to the iom-2 interface. in all other states ?1?s are transmitted to the iom-2 interface. to transfer data transparently to the s/t interface any activation request c/i command (ar8, ar10 or arl) is additionally necessary or if the internal layer-1 statemachine is disabled, bit tddis of register tr_cmd has additionally to be programmed to ?0?. figure 25 shows the data delay between the iom-2 and the s/t interface and vice versa. for the d channel the delay from the iom-2 to the s/t interface is only valid if s/g evaluation is disabled (moded:dim0=0). if s/g evaluation is enabled (moded.dim2-0=0x1) the delay depends on the selected priority and the relation between the echo bits on s and the d channel bits on the iom-2, e.g. for priority 8 the timing relation between the 8th d-bit on s bus and the d-channel on iom-2. figure 25 data delay between iom-2 and s/t interface transparent mode (te mode only) line_iom_s.vsd nt -> te dd du fsc te -> nt b1 b1 b2 b2 f d d d d b1 b1 b2 b2 f d d d d b1 b1 b2 b2 f d d d d e e e e b1 b1 b2 b2 f d d d d e e e e e e e e b2 d b1 b2 d b1 b2 d b1 b2 d b1 b2 d b1 b2 d b1 b2 d b1 b2 d b1 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 58 2003-01-30 figure 26 data delay between iom-2 and s/t interface with s/g bit evaluation (te mode only) lt-t mode in this mode the frame relation between s/t interface and iom-2 is flexible. lt-s/nt mode in the state f7 (activated) or if the internal layer-1 statemachine is disabled and xinf of register tr_cmd is programmed to ?011? the b1, b2 and d bits are transferred transparently from the s/t to the iom-2 interface. in all other states ?1?s are transmitted to the iom-2 interface. note: in intelligent nt the d-channel access can be blocked by the iom-2 d-channel handler. line_iom_s_dch.vsd nt -> te dd du fsc te -> nt b1 b1 b2 b2 f d d d d b1 b1 b2 b2 f d d d d b1 b1 b2 b2 f d d d d e e e e b1 b1 b2 b2 f d d d d e e e e e e e e b2 d b1 b2 d b1 b2 d b1 b2 d b1 b2 d b1 b2 d b1 b2 d b1 b2 d b1 mapping of b-channel timeslots 1. possibility 2. possibility mapping of a 4-bit group of d-bits on s and iom depends on prehistory (e.g. priority control): 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 59 2003-01-30 figure 27 data delay between iom-2 and s/t interface with 8 iom channels (lt-s/nt mode only) figure 28 data delay between iom-2 and s/t interface with 3 iom channels and maximum receive delay(lt-s/nt mode only) b1 b2 d b1 b2 d b1 b2 d b1 b2 d line_iom_s4nt.vsd nt -> te dd du fsc te -> nt b1 b1 b2 b2 f d d d d b1 b1 b2 b2 f d d d d b1 b1 b2 b2 f d d d d e e e e b1 b1 b2 b2 f d d d d e e e e b1 b2 d b1 b2 d b1 b2 d b1 b2 d b1 b1 b2 b2 f d d d d e e e e d d d d e e e e line_iom_s4nt_dly.vsd nt -> te dd du fsc te -> nt b1 b1 b2 b2 f d d d d b1 b1 b2 b2 f d d d d b1 b1 b2 b2 f e e e e b1 b1 b2 b2 f b1 b1 b2 b2 f d d d d d d d d te -> nt (42s) b2 d b1 b2 d b1 b2 d b1 b2 d b1 b2 d b1 b2 d b1 b2 d b1 b2 d b1 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 60 2003-01-30 3.3.5 transmitter characteristics the full-bauded pseudo-ternary pulse shaping is achieved with the integrated transmitter which is realized as a symmetrical current limited voltage source (v sx1/sx2 = +/-1.0 v; i max = 26 ma). the equivalent circuit of the transmitter is shown in figure 29 . the nominal pulse amplitude on the s-interface 750 mv (zero-peak) is adjusted with external resistors (see chapter 3.3.7.1 ). figure 29 equivalent internal circuit of the transmitter stage 21150_28 level '+0' '-0' '1' '+0' '-0' '1' vcm+0.525v vcm-0.525v vcm vcm-0.525v vcm+0.525v vcm tr_conf2.dis_tx '+0' '1' '-0' + - v=1 vcm - + v=1 sx2 sx1 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 61 2003-01-30 3.3.6 receiver characteristics the receiver consists of a differential input stage, a peak detector and a set of comparators. additional noise immunity is achieved by digital oversampling after the comparators. a simplified equivalent circuit of the receiver is shown in figure 30 . figure 30 equivalent internal circuit of the receiver stage the input stage works together with external 10 k  resistors to match the input voltage to the internal thresholds. the data detection threshold vref is continiously adapted between a maximal (vrefmax) and a minimal (vrefmin) reference level related to the line level. the peak detector requires maximum 2  s to reach the peak value while storing the peak level for at least 250  s (rc > 1 ms). the additional level detector for power up/down control works with a fixed thresholds vrefld. the level detector monitors the line input signals to detect whether an info is present. when closing an analog loop it is therefore possible to indicate an incoming signal during activated loop. 100 k  l evel detected vcm v refmin v ref + v ref - s r 1 10 k  10 k  40 k  40 k  v refld sr2 p eak d etect or n egative detecte d reccirc p ositive detecte d 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 62 2003-01-30 3.3.7 s/t interface circuitry for both the receive and transmit direction a 1:1 transformer is used to connect the ipac-x transceiver to the 4 wire s/t interface. typical transformer characteristics can be found in the chapter on electrical characteristics. the connections of the line transformers is shown in figure 31 . figure 31 connection of line transformers and power supply to the ipac-x for the transmit direction an external transformer is required to provide isolation and pulse shape according to the itu-t recommendations. 3.3.7.1 external protection circuitry the itu-t i.430 specification for both transmitter and receiver impedances in tes results in a conflict with respect to external s-protection circuitry requirements: ? to avoid destruction or malfunction of the s-device it is desirable to drain off even small overvoltages reliably. ? to meet the 96 khz impedance test specified for transmitters and receivers (for tes only, itu-t i.430 sections 8.5.1.2a and 8.6.1.1) the protection circuit must be dimensioned such that voltages below 1.2 v (itu-t i.430 amplitude) x transformer ratio are not affected. this requirement results from the fact that this test is also to be performed with no supply voltage being connected to the te. therefore the second reference point for overvoltages v dd , is tied to gnd. then, if the amplitude of the 96 khz test signal is greater than the combined forward voltages of the diodes, a current exceeding the specified one may pass the protection circuit. the following recommendations aim at achieving the highest possible device protection against overvoltages while still fulfilling the 96 khz impedance tests. 21150_05 ipac-x protection circuit protection circuit 1:1 1:1 transmit pair receive pair sx1 sx2 sr1 sr2 gnd vdd vss 3.3 v 10 f 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 63 2003-01-30 protection circuit for transmitter figure 32 external circuitry for transmitter figure 32 illustrates the secondary protection circuit recommended for the transmitter. the external resistors (5 ... 10  ) are required in order to adjust the output voltage to the pulse mask on the one hand and in order to meet the output impedance of minimum 20  (transmission of a binary zero according to itu-t i.430) on the other hand. two mutually reversed diode paths protect the device against positive or negative overvoltages on both lines. an ideal protection circuit should limit the voltage at the sx pins from ? 0.4 v to v dd + 0.4 v. with the circuit in figure 32 the pin voltage range is increased from ? 0.7 v to v dd + 1.4 v. the resulting forward voltage of 1.4 v will prevent the protection circuit from becoming active if the 96 khz test signal is applied while no supply voltage is present. protection circuit for receiver figure 33 illustrates the external circuitry used in combination with a symmetrical receiver. protection of symmetrical receivers is rather simple. sx1 5 ... 10 ohm 5 ...10 ohm vdd s bus 1:1 21150_23 sx2 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 64 2003-01-30 figure 33 external circuitry for symmetrical receivers between each receive line and the transformer a 10 k  resistor is used. this value is split into two resistors: one between transformer and protection diodes for current limiting during the 96 khz test, and the second one between input pin and protection diodes to limit the maximum input current of the chip. with symmetrical receivers no difficulties regarding lcl measurements are observed; compensation networks thus are obsolete. in order to comply to the physical requirements of itu-t recommendation i.430 and considering the national requirements concerning overvoltage protection and electromagnetic compatibility (emc), the ipac-x may need additional circuitry. note: up to 10 pf capacitors are optional for noise reduction 1:1 s bus 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 65 2003-01-30 3.3.7.2 s-transceiver synchronization synchronization problems can occur on a s-bus that is not terminated properly. therefore, it is recommended to change the resistor values in the receive path. the sum of both resistors is increased from 10 k  (1.8 + 8.2) to e.g. 34 k  (6.8 + 27) for either receiver line. this change is possible but not necessary for a s-bus that is terminated properly. figure 34 external circuitry for symmetrical receivers note: lower or higher values than 34 k  may be used as well, however for values above 34 k  the additional delay must be compensated by setting tr_conf2.pds=1 (compensates 260 ns) so the allowed input phase delay is not violated. 3.3.8 s/t interface delay compensation (te/lt-t mode) the s/t transmitter is shifted by two s/t bits minus 7 oscillator periods (plus analog delay plus delay of the external circuitry) with respect to the received frame. to compensate additional delay introduced into the receive and transmit path by the external circuit the delay of the transmit data can be reduced by another two oscillator periods (2 x 130 ns). therefore pds of the tr_conf2 register must be programmed to ?1?. this delay compensation might be necessary in order to comply with the "total phase deviation input to output" requirement of itu-t recommendation i.430 which specifies a phase deviation in the range of ? 7% to + 15% of a bit period. 3.3.9 level detection power down if mode1.cfs is set to ?0?, the clocks are also provided in power down state, whereas if cfs is set to ?1? only the analog level detector is active in power down state. all clocks, including the iom-2 interface, are stopped (dd, du are ?high?, dcl and bcl are ?low?). note: capacitors (up to 10 pf ) are optional for noise reduction. 21150_33 1:1 s bus sr2 sr1 gnd v dd r1 r2 r1 r2 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 66 2003-01-30 an activation initiated from the exchange side will have the consequence that a clock signal is provided automatically if tr_conf0.ldd is set to ?0?. if tr_conf0.ldd is set to ?1? the microcontroller has to take care of an interrupt caused by the level detect circuit (istatr.ld) from the terminal side an activation must be started by setting and resetting the spu- bit in the iom_cr register and writing tim to the cix0 register or by resetting mode1.cfs=0. 3.3.10 transceiver enable/disable the layer-1 part of the ipac-x can be enabled/disabled by configuration (see figure 35 ) with the two bits tr_conf0.d is_tr and tr_conf2.dis_tx . by default all layer-1 functions with the exception of the transmitter buffer is enabled (dis_tr = ?0?, dis_tx = ?1?). with several terminals connected to the s/t interface, another terminal may keep the interface activated although the ipac-x does not establish a connection. the receiver will monitor for incoming calls in this configuration. if the transceiver is disabled (dis_tr = ?1?) all layer-1 functions are disabled including the level detection circuit of the receiver. in this case the power consumption of the layer-1 is reduced to a minimum. the hdlc controller can still operate via iom-2. the dcl and fsc pins become input. figure 35 disabling of s/t transmitter 3.3.11 test functions the ipac-x provides test and diagnostic functions for the s/t interface: note: for more details please refer to the application note ?test function of new s- transceiver family? ? the internal local loop (internal loop a) is activated by a c/i command arl or by setting the bit lp_a (loop analog) in the tr_cmd register if the layer-1 statemachine ?1? ?0? tr_conf0.dis_tr tr_conf2.dis_tx 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 67 2003-01-30 is disabled. the transmit data of the transmitter is looped back internally to the receiver. the data of the iom-2 input b- and d-channels are looped back to the output b- and d- channels. the s/t interface level detector is enabled, i.e. if a level is detected this will be reported by the resynchronization indication (rsy) but the loop function is not affected. depending on the dis_tx bit in the tr_conf2 register the internal local loop can be transparent or non transparent to the s/t line. ? the external local loop (external loop a) is activated in the same way as the internal local loop described above. additionally the exlp bit in the tr_conf0 register has to be programmed and the loop has to be closed externally as described in figure 36 . the s/t interface level detector is disabled. this allows complete system diagnostics. ?in remote line loop (rlp) received data is looped back to the s/t interface. the d- channel information received from the line card is transparently forwarded to the output iom-2 d-channel. the output b-channel information on iom-2 is fixed to ?ff? h while this test loop is active. the remote loop is programmable in tr_conf2.rlp. figure 36 external loop at the s/t-interface ? transmission of special test signals on the s/t interface according to the modified ami code are initiated via a c/i command written in cix0 register (see chapter 3.5.4 ). two kinds of test signals may be transmitted by the ipac-x: ? the single pulses are of alternating polarity. one pulse is transmitted in each frame resulting in a frequency of the fundamental mode of 2 khz. the corresponding c/i command is ssp (send single pulses). scout-s(x) sx1 sx2 sr1 sr2 100  100  4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 68 2003-01-30 ? the continuous pulses are of alternating polarity. 48 pulses are transmitted in each frame resulting in a frequency of the fundamental mode of 96 khz. the corresponding c/i command is scp (send continuous pulses). 3.4 clock generation figure 37 shows the clock system of the ipac-x. the oscillator is used to generate a 7.68 mhz clock signal (f xtal ). in te mode the dpll generates the iom-2 clocks fsc (8 khz), dcl (1536 khz) and bcl (768 khz) synchronous to the received s/t frames. in lt modes these pins are input and in lt-t mode an 1536 khz clock synchronous to s is output at sclk which can be used for dcl input. an internal clock divider provides an fsc (acfg2.fbs=0) or bcl (acfg2.fbs=1) output on pin aux5/fbout derived from the dcl clock. the output can be enabled via acfg2.a5sel=1. the fsc signal is used to generate the pulse lengths of the different reset sources c/i code, eaw pin and watchdog (see chapter 3.2.4 ). figure 37 clock system of the ipac-x 21150_06 osc xtal 7.68 mhz dpll reset generation sw reset c/i eaw watchdog f xtal fsc (te mode) dcl (te mode) bcl (te mode) sclk (lt-t mode) fbout (fsc/bcl output) 125 s  t  250 s a cfg2.fbs 125 s  t  250 s 125 s  t  250 s pin rsto 125 s  t  250 s acfg2.a5sel 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 69 2003-01-30 table 9 clock modes te lt-t lt-s nt int. nt selected via pin: mode0=0 pin:mode1=0 mode0=1 pin:mode1=1 mode0=1 bit:mode2=0 mode1=1 mode0=0 bit:mode2=1 mode1=1 mode0=1 or mode0=0 *1) fsc o:8 khz (dis_tr=0) i:8 khz (dis_tr=1) *2) i:8 khz i:8 khz i:8 khz i:8 khz dcl o:1536 khz (dis_tr=0) i:1536/768 khz (dis_tr=1) *2) i:1536 khz (from sclk) or 4096 khz (from ext. pll) i:512 khz or 1536 khz or 4096 khz i:512 khz or 1536 khz or 4096 khz i:1536 khz bcl/sclk o:768 khz (bcl) o:1536 khz (sclk) *5) o:256 khz or 768 khz or 2048 khz (derived from dcl/2) o:256 khz or 768 khz or 2048 khz (derived from dcl/2) o:768 khz (derived from dcl/2) du *6) i i ooo ddooiii aux5/fbout (a5sel=1) *3) o:fsc (fbs=0) or bcl (fbs=1) o:fsc (fbs=0) or bcl (fbs=1) o:fsc (fbs=0) or bcl (fbs=1) o:fsc (fbs=0) or bcl (fbs=1) o:fsc (fbs=0) or bcl (fbs=1) aux0-2 general purpose i/o pins ch0-2: strap pins for iom channel select *4) ch0-2: strap pins for iom channel select *4) ch0-2: strap pins for iom channel select *4) general purpose i/o pins 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 70 2003-01-30 note: the iom-2 interface is adaptive. this means in lt-s/nt and lt-t mode other frequencies for bcl and dcl are possible in the range of 512-4096 khz (dcl) and 256-2048 khz (bcl). for details please refer to the application note ?reconfigurable pbx?. note: i = input; o = output; for all input clocks typical values are given although other clock frequencies may be used, too. 1) the modes te, lt-t and lt-s can directly be selected by strapping the pins mode1 and mode0. the mode can be reprogrammed in tr_mode.mode2-0 where nt and intelligent nt can be selected additionally. in int. nt mode mode0 selects between nt state machine (0) and lt-s state machine (1). 2) in te mode the s transceiver can be disabled (tr_conf0.dis_tr=1) so the iom clocks become inputs and with iom_cr.clkm the dcl input can be selected to double clock (0) or single bit clock (1). 3) acfg2.a5sel=1 selects the fbout function (derived from iom clocks) which provides an fsc/bcl output clock if clocks are present on iom. 4) the number of iom channels depends on the dcl clock, e.g. with dcl=1536 khz 3 iom channels and with dcl=4096 khz 8 channels are available. 5) in lt-t mode the 1536 khz output clock on sclk is synchronous to the s interface and can be used as input for the dcl clock.< 6) the direction input/output refers to the direction of the b- and d-channel data stream across the s-transceiver. due to the capabilites of the iom-2 handler the direction of some other timeslots may be different if this is programmed by the host (e.g. for data exchange between different devices connected to iom-2). 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 71 2003-01-30 3.4.1 description of the receive pll (dpll) the receive pll performs phase tracking between the f/l transition of the receive signal and the recovered clock. phase adjustment is done by adding or subtracting 0.5 or 1 xtal period to or from a 1.536-mhz clock cycle. the 1.536-mhz clock is than used to generate any other clock synchronized to the line. during (re)synchronization an internal reset condition may effect the 1.536-mhz clock to have high or low times as short as 130 ns. after the s/t interface frame has achieved the synchronized state (after three consecutive valid pairs of code violations) the fsc output in te mode is set to a specific phase relationship, thus causing once an irregular fsc timing. the phase relationships of the clocks are shown in figure 38 . figure 38 phase relationships of ipac-x clock signals 3.4.2 jitter the timing extraction jitter of the ipac-x conforms to itu-t recommendation i.430 (? 7% to + 7% of the s-interface bit period). itd09664 7.68 mhz 1536 khz * 768 khz * synchronous to receive s/t. duty ratio 1:1 normally f-bit fsc 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 72 2003-01-30 3.4.3 oscillator clock output c768 the ipac-x derives its system clocks from an external clock connected to xtal1 (while xtal2 is not connected) or from a 7.68 mhz crystal connected across xtal1 and xtal2. at pin c768 a buffered 7.68 mhz output clock is provided to drive further devices, which is suitable in multiline applications for example (see figure 39 ). this clock is not synchronized to the s-interface. in power down mode the c768 output is disabled (low signal). figure 39 buffered oscillator clock output 21150_12 ipac-x xtal1 xtal2 c768 ipac-x xtal1 xtal2 c768 ipac-x xtal1 xtal2 c768 7.68 mhz n.c. n.c. n.c. n.c. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 73 2003-01-30 3.5 control of layer-1 the layer-1 activation/ deactivation can be controlled by an internal state machine via the iom-2 c/i0 channel or by software via the microcontroller interface directly. in the default state the internal layer-1 state machine of the ipac-x is used. by setting the l1sw bit in the tr_conf0 register the internal state machine can be disabled and the layer-1 commands, which are normally gener ated by the internal state machine are written directly in the tr_cmd register or indications read from the tr_sta register respectively. the ipac-x layer-1 control flow is shown in figure 40 . figure 40 layer-1 control in the following sections the layer-1 control by the ipac-x state machine will be described. for the description of the iom-2 c/i0 channel see also chapter 3.7.4 . the layer-1 functions are controlled by commands issued via the cix0 register. these commands, sent over the iom-2 c/i channel 0 to layer 1, trigger certain procedures, such as activation/deactivation, switching of test loops and transmission of special pulse patterns. these procedures are governed by layer-1 state diagrams. responses from layer 1 are obtained by reading the cir0 register after a cic interrupt (ista). the state diagrams of the ipac-x are shown in figure 42 and figure 43 . the activation/ deactivation implemented by the ipac-x agrees with the requirements set forth in itu recommendations. state identifiers f1-f8 are in accordance with itu i.430. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 74 2003-01-30 state machines are the key to understanding the transceiver part of the ipac-x. they include all information relevant to the user and enable him to understand and predict the behaviour of the ipac-x. the state diagram notation is given in figure 41 . the informations contained in the state diagrams are: ? state name (based on itu i.430) ? s/t signal transmitted (info) ? c/i code received ? c/i code transmitted ? transition criteria the coding of the c/i commands and indications are described in detail in chapter 3.5.4 . figure 41 state diagram notation the following example illustrates the use of a state diagram with an extract of the te state diagram. the state explained is ?f3 deactivated?. the state may be entered: ? from the unconditional states (arl, res, tm) ? from state ?f3 pending deactivation?, ?f3 power up?, ?f4 pending activation? or ?f5 unsynchronized? after the c/i command ?di? has been received. the following informations are transmitted: ? info 0 (no signal) is sent on the s/t-interface. c/i message ?dc? is issued on the iom-2 interface. the state may be left by either of the following methods: ? leave for the state ?f3 power up? in case c/i = ?tim? code is received. ? leave for state ?f4 pending activation? in case c/i = ar8 or ar10 is received. itd09657 cmd. ind. state c / unconditional transition s / t interface info out ipac in i x i r ipac iom-2 interface ipac-x 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 75 2003-01-30 ? leave for the state ?f6 synchronized? after info 2 has been recognized on the s/t- interface. ? leave for the state ?f7 activated? after info 4 has been recognized on the s/t- interface. ? leave for any unconditional state if any unconditional c/i command is received. as can be seen from the transition criteria, combinations of multiple conditions are possible as well. a ?  ? stands for a logical and combination. and a ?+? indicates a logical or combination. the sections following the state diagram contain detailed information on all states and signals used. 3.5.1 state machine te and lt-t mode 3.5.1.1 state transition diagram (te, lt-t) figure 42 shows the state transition diagram of the ipac-x state machine. figure 43 shows this for the unconditional transitions (reset, loop, test mode i). 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 76 2003-01-30 figure 42 state transition diagram (te, lt-t) x 1) dr for transition from f7 or f8 dr6 for transition from f6 2) ar stands for ar8 or ar10 3) ai stands for ai8 or ai10 4) x stands for commands initiating unconditional transitions (res, arl, ssp or scp) to1: 16 ms to2: 0.5 ms statem_te_s.vsd f3 pending deact. dr 1) i0 i0 f3 deactivated dc di i0 i0 ar i2 tim i0*to1 f3 power up pu tim i0 i0 di tim di i2 di*to2 tim*to2 i0 f8 lost framing rsy i0 x i4 i0*to1 i0*to1 ar di i2 f7 activated ai 3) ar 2) i3 i4 f6 synchronized ar i3 i2 x f5 unsynchronized rsy i0 ix i2 i0 f4 pending act. pu ar 2) i1 i0 x i4 i2 i2 i4 ix ix tim i4 i4 i4 tim di tim x 4) uncond. state x di 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 77 2003-01-30 figure 43 state transition diagram of unconditional transitions (te, lt-t) 3.5.1.2 states (te, lt-t) f3 pending deactivation state after deactivation from the s/t interface by info 0. note that no activation from the terminal side is possible starting from this state. a ?di? command has to be issued to enter the state ?deactivated state?. f3 deactivated state the s/t interface is deactivated and the clocks are deactivated 500 s after entering this state and receiving info 0 if the cfs bit of the ipac-x configuration register is set to ?0?. activation is possible from the s/t interface and from the iom-2 interface. the bit tr_cmd.pd is set and the analog part is powered down. f3 power up the s/t interface is deactivated (info 0 on the line) and the clocks are running. f4 pending activation the ipac-x transmits info 1 towards the network, waiting for info 2. f5 unsynchronized statem_te_aloop_s.vsd loop a activated ail rsy arl i3 * loop a closed arl arl i3 * di tim di tim arl reset res res i0 * di tim ssp scp test mode i tma ssp scp it i * di tim i3 i3 res any state rst 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 78 2003-01-30 any signal except info 2 or 4 detected on the s/t interface. f6 synchronized the receiver has synchronized and detects info 2. info 3 is transmitted to synchronize the nt. f7 activated the receiver has synchronized and detects info 4. all user channels are now conveyed transparently to the iom-2 interface. to transfer user channels transparently to the s/t interface either the command ar8 or ar10 has to be issued and tr_sta.fsyn must be ?1? (signal from remote side must be synchronous). f8 lost framing the receiver has lost synchronization in the states f6 or f7 respectively. unconditional states loop a closed (internal or external) the ipac-x loops back the transmitter to the receiver and activates by transmission of info 3. the receiver has not yet synchronized. for a non transparent internal loop the dis_tx bit of register tr_conf2 has to be set to ?1?. loop a activated (internal or external) the receiver has synchronized to info 3. data may be sent. the indication ?ail? is output to indicate the activated state. if the loop is closed internally and the s/t line awake detector detects any signal on the s/t interface, this is indicated by ?rsy?. test mode - ssp single alternating pulses are transmitted to the s/t-interface resulting in a frequency of the fundamental mode of 2 khz. test mode - scp continuous alternating pulses are transmitted to the s/t-interface resulting in a frequency of the fundamental mode of 96 khz. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 79 2003-01-30 3.5.1.3 c/i codes (te, lt-t) note: in the activated states (ai8, ai10 or ail indication) the 2b+d channels are only transferred transparently to the s/t interface if one of the three ?activation request? commands is permanently issued. command abbr. code remark activation request with priority class 8 ar8 1000 activation requested by the ipac-x, d- channel priority set to 8 ( see note ). activation request with priority class 10 ar10 1001 activation requested by the ipac-x, d- channel priority set to 10 ( see note ). activation request loop arl 1010 activation requested for the internal or external loop a ( see note ). for a non transparent internal loop bit dis_tx of register tr_conf2 has to be set to ?1? additionally. deactivation indication di 1111 deactivation indication. reset res 0001 reset of the layer-1 state machine. timing tim 0000 layer-2 device requires clocks to be activated. test mode ssp ssp 0010 one ami-coded pulse transmitted in each frame, resulting in a frequency of the fundamental mode of 2 khz. test mode scp scp 0011 ami-coded pulses transmitted continuously, resulting in a frequency of the fundamental mode of 96 khz. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 80 2003-01-30 indication abbr. code remark deactivation request dr 0000 deactivation request via s/t-interface if left from f7/f8. reset res 0001 reset acknowledge. test mode acknowledge tma 0010 acknowledge for both ssp and scp. slip detected sld 0011 resynchronization during level detect rsy 0100 signal received, receiver not synchronous. deactivation request from f6 dr6 0101 deactivation request from state f6. power up pu 0111 iom-2 interface clocking is provided. activation request ar 1000 info 2 received. activation request loop arl 1010 internal or external loop a closed. illegal code violation cvr 1011 illegal code violation received. this function has to be enabled by setting the en_icv bit of register tr_conf0. activation indication loop ail 1110 internal or external loop a activated. activation indication with priority class 8 ai8 1100 info 4 received, d-channel priority is 8 or 9. activation indication with priority class 10 ai10 1101 info 4 received, d-channel priority is 10 or 11. deactivation confirmation dc 1111 clocks are disabled if cfs bit of register mode1 is set to ?1?, quiescent state. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 81 2003-01-30 3.5.1.4 infos on s/t (te, lt-t) receive infos on s/t (downstream) transmit infos on s/t (upstream) name abbr. description info 0 i0 no signal on s/t info 2 i2 4 khz frame a=?0? info 4 i4 4 khz frame a=?1? info x ix any signal except info 2 or info 4 name abbr. description info 0 i0 no signal on s/t info 1 i1 continuous bit sequence of the form ?00111111? info 3 i3 4 khz frame test info 1 it 1 ssp - send single pulses test info 2 it 2 scp - send continuous pulses 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 82 2003-01-30 3.5.2 state machine lt-s mode 3.5.2.1 state transition diagram (lt-s) figure 44 state transition diagram (lt-s) note: state ?test mode? can be entered from any state except from state ?test mode? itself , i.e. c/i-code ?ssp/scp? must not be followed by c/i-code ?scp/ssp? directly. g3 activated ai dc ard i4 i3 reset tim res i0 * g2 pend. act. ar dc ard i2 i3 g2 lost framing s/t rsy dc ard i2 i3 g1 deactivated di tim 2) dc i0 i0 1) ard = ar or arl statem_lts_s.vs d g4 pend. deact. tim dr i0 i0 test mode i tim ssp scp it * dr dr g4 wait for dr di dr i0 * (i0*16ms)+32ms dc dc ssp scp any state dr dc any state res ard 1) ard 1) dr i3 dr dr i3 i3 rst (i0*8ms)+ard 1) 2) di if i0 tim if i0 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 83 2003-01-30 3.5.2.2 states (lt-s) g1 deactivated the transceiver is not transmitting. there is no signal detected on the s/t-interface, and no activation command is received in the c/i channel. the clocks are deactivated if mode1-cfs is set to 1. activation is possible from the s/t interface and from the iom-2 interface. g2 pending activation as a result of an info 0 detected on the s/t line or an ard command, the transceiver begins transmitting info 2 and waits for reception of info 3. the timer to supervise reception of info 3 is to be implemented in software. in case of an arl command, loop 2 is closed. g3 activated normal state where info 4 is transmitted to the s/t-interface. the transceiver remains in this state as long as neither a deactivation nor a test mode is requested, nor the receiver looses synchronism. when receiver synchronism is lost, info 2 is sent automatically. after reception of info 3, the transmitter keeps on sending info 4. g2 lost framing this state is reached when the transceiver has lost synchronism in the state g3 activated. g4 pending deactivation this state is triggered by a deactivation request dr. it is an unstable state: indication di (state ?g4 wait for dr.?) is issued by the transceiver when: either info0 is received for a duration of 16 ms, or an internal timer of 32 ms expires. g4 wait for dr final state after a deactivation request. the transceiver remains in this state until dc is issued. unconditional states test mode - ssp single alternating pulses are sent on the s/t-interface. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 84 2003-01-30 test mode - scp continuous alternating pulses are sent on the s/t-interface. 3.5.2.3 c/i codes (lt-s) command abbr. code remark deactivation request dr 0000 dr - deactivation request. initiates a complete deactivation from the exchange side by transmitting info 0. reset res 0001 reset of state machine. transmission of info0. no reaction to incoming infos. res is an unconditional command. send single pulses ssp 0010 send single pulses. send continuous pulses scp 0011 send continuous pulses. activation request ar 1000 activation request. this command is used to start an exchange initiated activation. activation request loop arl 1010 activation request loop. the transceiver is requested to operate an analog loop-back close to the s/t-interface. activation indication loop ail 1110 activation indication loop. deactivation confirmation dc 1111 deactivation confirmation. transfers the transceiver into a deactivated state in which it can be activated from a terminal (detection of info 0 enabled). indication abbr. code remark timing tim 0000 interim indication during activation procedure in g1. receiver not synchronous rsy 0100 receiver is not synchronous activation request ar 1000 info 0 received from terminal. activation proceeds. illegal code ciolation cvr 1011 illegal code violation received. this function has to be enabled in tr_conf0.en_icv. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 85 2003-01-30 3.5.2.4 infos on s/t (lt-s) receive infos on s/t (downstream) i0 info 0 detected i0 level detected (signal different to i0) i3 info 3 detected i3 any info other than info 3 transmit infos on s/t (upstream) i0 info 0 i2 info 2 i4 info 4 it send single pulses (ssp). send continuous pulses (scp). activation indication ai 1100 synchronous receiver, i.e. activation completed. deactivation indication di 1111 timer (32 ms) expired or info 0 received for a duration of 16 ms after deactivation request indication abbr. code remark 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 86 2003-01-30 3.5.3 state machine nt mode 3.5.3.1 state transition diagram (nt) figure 45 state transition diagram (nt) note: state ?test mode? can be entered from any state except from state ?test mode? itself , i.e. c/i-code ?ssp/scp? must not be followed by c/i-code ?scp/ssp? directly. g2 pend. act ar ard i2 i3 reset tim res i0 * g1 i0 detected ar dc i0 * g2 lost framing s/t rsy aid ard i2 i3 g1 deactivated di tim 3) dc i0 i0 statem_nt_s.vsd g4 pend. deact. tim dr i0 i0 test mode i tim ssp scp it * dr dr g4 wait for dr di dr i0 * (i0*16ms)+32ms dc dc ssp scp any state dr dc any state res ard 1) ard 1) dr i3 i3*aid 2) rst ard 1) g2 wait for aid ai ard i2 i3 g3 lost framing u rsy rsy i2 * g3 activated ai aid i4 i3 ard 1) aid 2) i3*ard 1) i3*ard dr dr dr rsy rsy dr rsy ard 1) aid 2) 1) ard = ar or arl 2) aid =ai or ail 3) di if i0 tim if i0 ard 1) i3*aid 2) (i0*8ms) 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 87 2003-01-30 3.5.3.2 states (nt) g1 deactivated the transceiver is not transmitting. there is no signal detected on the s/t-interface, and no activation command is received in the c/i channel. the clocks are deactivated if the bit mode1.cfs to 1. activation is possible from the s/t interface and from the iom-2 interface. g1 i0 detected an info 0 is detected on the s/t-interface, translated to an ?activation request? indication in the c/i channel. the transceiver is waiting for an ar command, which normally indicates that the transmission line upstream (usually a two-wire u interface) is synchronized. g2 pending activation as a result of the ard command, an info 2 is sent on the s/t-interface. info 3 is not yet received. in case of arl command, loop 2 is closed. g2 wait for aid info 3 was received, info 2 continues to be transmitted while the transceiver waits for a ?switch-through? command aid from the device upstream. g3 activated info 4 is sent on the s/t-interface as a result of the ?switch through? command aid: the b and d-channels are transparent. on the command ail, loop 2 is closed. g2 lost framing s/t this state is reached when the transceiver has lost synchronism in the state g3 activated. g3 lost framing u on receiving an rsy command which usually indicates that synchronization has been lost on the two-wire u interface, the transceiver transmits info 2. g4 pending deactivation this state is triggered by a deactivation request dr, and is an unstable state. indication di (state ?g4 wait for dr?) is issued by the transceiver when: either info0 is received for a duration of 16 ms or an internal timer of 32 ms expires. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 88 2003-01-30 g4 wait for dr final state after a deactivation request. the transceiver remains in this state until dc is issued. unconditional states test mode ssp send single pulses test mode scp send continuous pulses 3.5.3.3 c/i codes (nt) command abbr. code remark deactivation request dr 0000 dr - deactivation request. initiates a complete deactivation from the exchange side by transmitting info 0. unconditional command. reset res 0001 reset of state machine. transmission of info0. no reaction to incoming infos. res is an unconditional command. send single pulses ssp 0010 send single pulses. send continuous pulses scp 0011 send continuous pulses. receiver not synchronous rsy 0100 receiver is not synchronous activation request ar 1000 activation request. this command is used to start an exchange initiated activation. activation request loop arl 1010 activation request loop. the transceiver is requested to operate an analog loop-back close to the s/t-interface. activation indication ai 1100 synchronous receiver, i.e. activation completed. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 89 2003-01-30 activation indication loop ail 1110 activation indication loop deactivation confirmation dc 1111 deactivation confirmation. transfers the transceiver into a deactivated state in which it can be activated from a terminal (detection of info 0 enabled). indication abbr. code remark timing tim 0000 interim indication during deactivation procedure. receiver not synchronous rsy 0100 receiver is not synchronous. activation request ar 1000 info 0 received from terminal. activation proceeds. illegal code ciolation cvr 1011 illegal code violation received. this function has to be enabled in tr_conf0.en_icv. activation indication ai 1100 synchronous receiver, i.e. activation completed. deactivation indication di 1111 timer (32 ms) expired or info 0 received for a duration of 16 ms after deactivation request. command abbr. code remark 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 90 2003-01-30 3.5.4 command/indicate channel codes (c/i0) - overview the table below presents all defined c/i0 codes. a command needs to be applied continuously until the desired action has been initiated. indications are strictly state orientated. refer to the state diagrams in the previous sections for commands and indications applicable in various states. code te/lt-t lt-s nt cmd ind cmd ind cmd ind 0000tim dr dr tim dr tim 0001res res res ? res ? 0010ssp tma ssp ? ssp ? 0011scp sld scp ? scp ? 0100? rsy ? rsy rsy rsy 0101? dr6 ? ? ? ? 0110? ? ? ? ? ? 0111? pu ? ? ? ? 1000ar8 ar ar ar ar ar 1001ar10 ? ? ? ? ? 1010arl arl arl ? arl ? 1011? cvr ? cvr ? cvr 1100? ai8 ? ai ai ai 1101? ai10 ? ? ? ? 1110? ail ? ? ail ? 1111di dc dc di dc di 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 91 2003-01-30 3.6 control procedures 3.6.1 example of activation/deactivation an example of an activation/deactivation of the s/t interface initiated by the terminal with the time relationships mentioned in the previous chapters is shown in figure 46 . figure 46 example of activation/deactivation initiated by the terminal a_deact.dr w n t/linecard t e i nfo 0 i nfo 1 i nfo 2 i nfo 3 i nfo 4 i nfo 0 i nfo 0 d r a i a r r sy 16 ms 0.5 ms max. 6 ms a r 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 92 2003-01-30 3.6.2 activation initiated by the terminal info 1 has to be transmitted as long as info 0 is received. info 0 has to be transmitted thereafter as lo ng as no valid info (info 2 or info 4) is received. after reception of info 2 or info 4 transmission of info 3 has to be started. data can be transmitted if info 4 has been received. figure 47 example of activation/deactivation initiated by the terminal (te). activation/deactivation completely under software control note: rinf and xinf are receive- and transmit-infos of register tr_sta. act_deac_te-ext_s.vsd xinf='000' rinf='01' rinf='10' xinf='011' info 1 info 0 info 2 info 0 info 3 info 4 xinf='010' t1 te info 0 info 0 info 0 xinf='000' te nt s/t interface c interface t1 te : 2 to 6 frames (0.5 ms to 1.5 ms) t3 te : 4 frames (1 ms) t2 te : 2 frames (0.5 ms) t3 te rinf='00' t2 te rinf='11' tddis='1', tddis='0' tddis='1', 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 93 2003-01-30 3.6.3 activation initiated by the network termination nt info 0 has to be transmitted as long as no valid info (info 2 or info 4) is received. after reception of info 2 or info 4 transmission of info 3 has to be started. data can be transmitted if info 4 has been received. figure 48 example of activation/deactivation initiated by the network termination (nt). activation/deactivation completely under software control note: rinf and xinf are receive- and transmit-infos of register tr_sta. act_deac_lt_ext_s.vsd rinf='01' rinf='10' xinf='011' info 0 info 2 info 3 info 4 rinf='11' t1 te info 0 info 0 info 0 t2 te t3 te xinf='000' rinf='00' te nt s/t interface c interface t1 te : 2 to 6 s/t frames (0.5 ms to 1.5 ms) t3 te : 4 s/t frames (1 ms) t2 te : 2 s/t frames (0.5 ms) tddis='1', tddis='0' tddis='1', 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 94 2003-01-30 3.7 iom-2 interface the ipac-x supports the iom-2 interface in linecard mode and in terminal mode with single clock and double clock. the iom-2 interface consists of four lines: fsc, dcl, dd and du. the rising edge of fsc indicates the start of an iom-2 frame. the dcl and the bcl clock signals synchronize the data transfer on both data lines du and dd. the dcl is twice the bit rate, the bcl rate is equal to the bit rate. the bits are shifted out with the rising edge of the first dcl clock cycle and sampled at the falling edge of the second clock cycle. the iom-2 interface can be enabled/disabled with the dis_iom bit in the iom_cr register. te mode a dcl signal and bcl signal (pin bcl/sclk) output is provided and the fsc signal is generated by the receive dpll which synchronizes it to the received s/t frame. the bcl clock together with the two serial data strobe signals (sds1, sds2) can be used to connect time slot oriented standard devices to the iom-2 interface. if the transceiver is disabled (tr_con.dis_tr) the dcl and fsc pins become input and the hdlc part can still work via iom-2. in this case the clock mode bit (iom_cr.clkm) selects between a double clock and a single clock input for dcl. the clock rate/frequency of the iom-2 signals in te mode are: dd, du: 768 kbit/s fsc (o): 8 khz dcl (o): 1536 khz (double clock rate) bcl (o):768 khz (single clock rate) option - transceiver disabled (dis_tr = ?1?): fsc (i): 8 khz dcl (i): 1536 ... 4096 khz, in steps of 512 khz (double clock rate) lt-s, lt-t, nt, int mode the iom-2 clock signals fsc and bcl are input. in lt-t mode a 1536 khz output clock synchronous to s is provided at pin sclk which can directly be connected to the dcl input. internal clock dividers provide for generation of an fsc or bcl output clock at pin fbout derived from dcl (see chapter 3.4 ). dd, du: data rate = dcl/2 kbit/s (lt-t mode) fsc (i): 8 khz dcl (i): 512 ... 4096 khz, in steps of 512 khz (double clock rate) sclk (o):1536 khz (lt-t mode), bcl derived via dcl/2 (lt-s/nt mode) note: in all modes the direction of the data lines du and dd is not fix but depending on the timeslot which can be seen in the figures below. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 95 2003-01-30 iom-2 frame structure (te mode) the frame structure on the iom-2 data ports (du,dd) of a master device in iom-2 terminal mode is shown in figure 49 . figure 49 iom  -2 frame structure in terminal mode the frame is composed of three channels:  channel 0 contains 144-kbit/s of user and signaling data (2b + d), a monitor programming channel (mon0) and a command/indication channel (ci0) for control and programming of the layer-1 transceiver.  channel 1 contains two 64-kbit/s intercommunication channels (ic) plus a monitor and command/indicate channel (mon1, ci1) to program or transfer data to other iom- 2 devices.  channel 2 is used for the tlc-bus access. only the command/indicate bits are specified in this channel. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 96 2003-01-30 iom-2 frame structure (lt-s, lt-t modes) this mode is used in lt-s and lt-t applications. the frame is a multiplex of up to eight iom-2 channels (dcl = 4096 khz, figure 50 ), each of which has the structure described above. the reset value for assignment to one of the eight channels (0 to 7) is done via pin strapping (ch0-2), however the host can reprogram the selected timeslot in dch_tsdp.tss. figure 50 multiplexed frame structure of the iom-2 interface in non-te timing mode iom-2 frame structure (nt mode) in nt mode one iom-2 channel is used (dcl=512 khz). the channel structure is the same as described above. itd09635 ch1 ch2 ch3 ch4 ch5 ch6 ch7 ch0 ch0 ch7 ch6 ch5 ch4 ch3 ch2 ch1 b1 b2 monitor d c/i mm rx 125 fsc dcl dd du s iom ch0 iom ch0 r r 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 97 2003-01-30 3.7.1 iom-2 handler the iom-2 handler offers a great flexibility for handling the data transfer between the different functional units of the ipac-x and voice/data devices connected to the iom-2 interface. additionally it provides a microcontroller access to all timeslots of the iom-2 interface via the four controller data access registers (cda). figure 51 shows the architecture of the iom-2 handler. for illustrating the functional description it contains all configuration and control registers of the iom-2 handler. a detailed register description can be found in chapter 4.4 . the pcm data of the functional units  transceiver (tr) and the  controller data access (cda)  b-channel hdlc controllers can be configured by programming the time slot and data port selection registers (tsdp). with the tss bits (time slot selection) the pcm data of the functional units can be assigned to each of the 32 pcm time slots of the iom-2 frame. with the dps bit (data port selection) the output of each functional unit is assigned to du or dd respectively. the input is assigned vice versa. with the data control registers (xxx_cr) the access to the data of the functional units can be controlled by setting the corresponding control bits (en, swap). the iom-2 handler also provides access to the  monitor channel (mon)  c/i channels (c/i0,c/i1)  tic bus (tic) and  hdlc control the access to these channels is controlled by the registers mon_cr, dci_cr and bchx_cr. the iom-2 interface with the two serial data strobes (sds1,2) is controlled by the control registers iom_cr, sds1_cr and sds2_cr. the reset configuration of the ipac-x iom-2 handler corresponds to the defined frame structure and data ports of a master device in iom-2 terminal mode (see figure 49 ). 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 98 2003-01-30 . figure 51 architecture of the iom handler (example configuration) 21150_07 cda control ( dps, tss, en_tbm, swap, en_i1/0, en_o1/0, mcdaxy, stixy, stovxy, ackxy ) cda registers cda10 cda11 cda20 cda21 cda_tsdpxy cdax_crx mcda sti msti asti controller data access (cda) control monitor data (dps, cs2-0, en_mon) mon_cr tic bus disable (tic_dis) iom_cr dci_cr c/i1 (dps_ci1, en_ci1) control transceiver data access (dps, tss, cs2-0, en_d, en_b1r, en_b1x, en_b2r, en_b2x ) tr_tsdp_bc1 tr_tsdp_bc2 trc_cr d data d, b1, b2, c/i0 data c/i1 data c/i0 data tic bus data monitor data cda data b1 data b2 data transceiver data tr d-channel rx/tx b1-channel rx b1-channel tx mon handler tic c/i0 c/i1 data d-ch b1-ch b2-ch fifos microcontroller interface sds1/2_cr iom_cr ( ens_tss, ens_tss+1, ens_tss+3, tss, sdsx_bcl iom-2 interface du dd fsc dcl bcl/sclk sds1 sds2 iom-2 handler c/i0 (cs2-0) dcic_cr control hdlc channel data d (cs2-0, d_en_d, d_en_b1, d_en_b2) b1 (dps, tss, dps_d, en_d, en_bc1, en_bc2, cs2-0) bcha_tsdp _b1/2, bcha_cr bchb_tsdp _b1/2, bchb_cr b2 (dps, tss, dps_d, en_d, en_bc1, en_bc2, cs2-0) control c/i data b2-channel rx b2-channel tx sds1/2_cr en_bcl, clkm, dis_od, dis_iom, diom_inv, diom_sds note: the registers shown above are used to control the corresponding functional block (e.g. programming of timeslot, data port, enabling/disabling, etc.) 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 99 2003-01-30 3.7.1.1 controller data access (cda) with its four controller data access registers (cda10, cda11, cda20, cda21) the ipac-x iom-2 handler provides a very flexible solution for the host access to up to 32 iom-2 time slots. the functional unit cda (controller data access) allows with its control and configuration registers  looping of up to four independent pcm channels from du to dd or vice versa over the four cda registers  shifting of two independent pcm channels to another two independent pcm channels on both data ports (du, dd). between reading and writing the data can be manipulated (processed with an algorithm) by the microcontroller. if this is not the case a switching function is performed  monitoring of up to four time slots on the iom-2 interface simultaneously  microcontroller read and write access to each pcm timeslot the access principle which is identical for the two channel register pairs cda10/11 and cda20/21 is illustrated in figure 52 . each of the index variables x,y used in the following description can be 1 or 2 for x and 0 or 1 for y. the prefix ?cda_? from the register names has been omitted for simplification. to each of the four cdaxy data registers a tsdpxy register is assigned by which the time slot and the data port can be determined. with the tss (time slot selection) bits a time slot from 0...31 can be selected. with the dps (data port selection) bit the output of the cdaxy register can be assigned to du or dd respectively. the time slot and data port for the output of cdaxy is always defined by its own tsdpxy register. the input of cdaxy depends on the swap bit in the control registers crx.  if the swap bit = ?0? (swap is disabled) the time slot and data port for the input and output of the cdaxy register is defined by its own tsdpxy register.  if the swap bit = ?1? (swap is enabled) the input port and timeslot of the cdax0 is defined by the tsdp register of cdax1 and the input port and timeslot of cdax1 is defined by the tsdp register of cdax0. the input definition for timeslot and data port cdax0 are thus swapped to cdax1 and for cdax1 swapped to cdax0. the output timeslots are not affected by swap. the input and output of every cdaxy register can be enabled or disabled by setting the corresponding en (-able) bit in the control register cdax_cr. if the input of a register is disabled the output value in the register is retained. usually one input and one output of a functional unit (transceiver, hdlc controllers, cda register) is programmed to a timeslot on iom-2 (e.g. for b-channel transmission in upstream direction the hdlc controller writes data onto iom and the transceiver reads data from iom). for monitoring data in such cases a cda register is programmed as described below under ?monitoring data?. besides that none of the iom timeslots must be assigned more than one input and output of any functional unit. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 100 2003-01-30 . figure 52 data access via cdax1 and cdax2 register pairs looping and shifting data figure 53 gives examples for typical configurations with the above explained control and configuration possibilities with the bits tss, dps, en and swap in the registers tsdpxy or cdax_cr: a) looping iom-2 time slot data from du to dd or vice versa (swap = 0) b) shifting data from tsa to tsb and tsc to tsd in both transmission directions (swap = 1) c) switching data from tsa to tsb and looping from du to dd or tsc to tsd and looping from dd to du respectively tsa is programmed in tsdp10, tsb in ts dp11, tsc in tsdp20 and tsd in tsdp21. it should also be noted that the input control of cda registers is swapped if swap=1 while the output control is not affected (e.g. for cda11 in example a: en_i1=1 and en_o1=1, whereas for cda11 in example b: en_i0=1 and en_o1=1). du cdax1 control register cda_crx dd 1 1 time slot selection (tss) input swap (swap) 1 x = 1 or 2; a,b = 0...11 data port cda_tsdpx2 0 1 0 1 iom_hand.fm4 1 0 1 1 enable input * (en_o0) output cda_tsdpx1 1 0 cdax0 1 (en_i0) (en_i1) input * enable output (en_o1) selection (dps) data port selection (dps) selection (tss) time slot tsa tsa tsb tsb *) in the normal mode (swap=0) the input of cdax0 and cdax1 is enabled via en_i0 and en_i1, respectively. if swap=1 en_i0 controls the input of cdax1 and en_i1 controls the input of cdax0. the output control (en_o0 and en_o1) is not affected by swap. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 101 2003-01-30 figure 53 examples for data access via cdaxy registers a) looping data b) shifting (switching) data c) switching and looping data tsa tsb tsc tsd cda10 cda11 cda20 cda21 tsa tsb tsc tsd du dd tsa tsb tsc tsd cda10 cda11 cda20 cda21 du dd b) shifting d ata a) looping data .tss: .dps .swap ?0? ?1? ?1? ?0? ?0? ?0? tsa tsb tsc tsd .tss: .dps .swap ?1? ?1? ?0? ?1? ?0? ?1? tsa tsb tsc tsd cda10 cda11 cda20 cda21 du dd c) s witching d ata tsa tsb tsc tsd .tss: .dps .swap ?1? ?1? ?1? ?0? ?0? ?1? 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 102 2003-01-30 figure 54 shows the timing of looping tsa from du to dd (a = 0...11) via cdaxy register. tsa is read in the cdaxy register from du and is written one frame later on dd. . figure 54 data access when looping tsa from du to dd figure 55 shows the timing of shifting data from tsa to tsb on du(dd). in figure 55a) shifting is done in one frame because tsa and tsb didn?t succeed direct one another (a,b = 0...9 and b  a+2
in figure 55b) shifting is done from one frame to the following frame. this is the case when the time slots succeed one other (b = a+1) or b is smaller than a (b < a). at looping and shifting the data can be accessed by the controller between the synchronous transfer interrupt (sti) and the status overflow interrupt (stov). sti and stov are explained in the section ?synchronous transfer?. if there is no controller intervention the looping and shifting is done autonomous. tsa du tsa fsc cdaxy c rd wr ack stov tsa dd tsa sti a = 0...11 *) if access by the c is required *) 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 103 2003-01-30 figure 55 data access when shifting tsa to tsb on du (dd) tsa du tsb fsc cdaxy c rd wr ack stov sti tsa sti tsa fsc cdaxy c rd wr ack stov sti tsb tsa tsb (dd) (a,b: 0...11 and (b = a+1 or b ipac-x psb/psf 21150 description of functional blocks data sheet 104 2003-01-30 monitoring data figure 56 gives an example for monitoring of two iom-2 time slots each on du or dd simultaneously. for monitoring on du and/or dd the channel registers with even numbers (cda10, cda20) are assigned to time slots with even numbers ts(2n) and the channel registers with odd numbers (cda11, cda21) are assigned to time slots with odd numbers ts(2n+1). the user has to take care of this restriction by programming the appropriate time slots.. . figure 56 example for monitoring data monitoring tic bus monitoring the tic bus (ts11) is handled as a special case. the tic bus can be monitored with the registers cdax0 by setting the en_tbm (enable tic bus monitoring) bit in the control registers crx. in this special case the tsdpx0 must be set to 08 h for monitoring from du or 88 h for monitoring from dd respectively. by this it is possible to monitor the tic bus (ts11) and the odd numbered d-channel (ts3) simultaneously on du and dd. cda10 cda11 cda20 cda21 ts(2n) ts(2n+1) du dd a) monitoring data tss: ts(2n) ts(2n+1) tss: ?1? ?1? dps: ?0? ?0? dps: ?0? ?0? en_o: ?1? ?1? en_i: ?0? ?0? en_o: ?1? ?1? en_i: cda_cr1. cda_cr2. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 105 2003-01-30 synchronous transfer while looping, shifting and switching the data can be accessed by the controller between the synchronous transfer interrupt (sti) and the status overflow interrupt (stov). the microcontroller access to the cdaxy registers can be synchronized by means of four programmable synchronous transfer interrupts (stixy) 1) and synchronous transfer overflow interrupts (stovxy) 2) in the sti register. depending on the dps bit in the corresponding cda_tsdpxy register the stixy is generated two (for dps=?0?) or one (for d ps=?1?) bcl clock after the selected time slot (cda_tsdpxy.tss). one bcl clock is equivalent to two dcl clocks. in the following description the index xy 0 and xy 1 are used to refer to two different interrupt pairs (sti/stov) out of the four cda interrupt pairs (sti10/stov10, sti11/ stov11, sti20/stov20, sti21/stov21). an stovxy 0 is related to its stixy 0 and is only generated if stixy 0 is enabled and not acknowledged. however, if stixy 0 is masked, the stovxy 0 is generated for any other stixy 1 which is enabled and not acknowledged. table 10 gives some examples for that. it is assumed that an stov interrupt is only generated because an sti interrupt was not acknowledged before. in example 1 only the stixy 0 is enabled and thus stixy 0 is only generated. if no sti is enabled, no interrupt will be generated even if stov is enabled (example 2). in example 3 stixy 0 is enabled and generated and the corresponding stovxy 0 is disabled. stixy 1 is disabled but its stovxy 1 is enabled, and therefore stovxy 1 is generated due to stixy 0 . in example 4 additionally the corresponding stovxy 0 is enabled, so stovxy 0 and stovxy 1 are both generated due to stixy 0 . in example 5 additionally the stixy 1 is enabled with the result that stovxy 0 is only generated due to stixy 0 and stovxy 1 is only generated due to stixy 1 . compared to the previous example stovxy 0 is disabled in example 6, so stovxy 0 is not generated and stovxy 1 is only generated for stixy 1 but not for stixy 0 . compared to example 5 in example 7 a third stovxy 2 is enabled and thus stovxy2 is generated additionally for both stixy 0 and stixy 1 . 1) in order to enable the sti interrupts the input of the corresponding cda register has to be enabled. this is also valid if only a synchronous write access is wanted. the enabling of the output alone does not effect an sti interrupt. 2) in order to enable the stov interrupts the output of the corresponding cda register has to be enabled. this is also valid if only a synchronous read access is wanted. the enabling of the input alone does not effect an interrupt. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 106 2003-01-30 an stov interrupt is not generated if all stimulating sti interrupts are acknowledged. an stixy must be acknowledged by setting the ackxy bit in the asti register until two bcl clocks (for dps=?0?) or one bcl clocks (for dps=?1?) before the time slot which is selected for the appropriate stixy. the interrupt structure of the synchronous transfer is shown in figure 57 . . figure 57 interrupt structure of the synchronous data transfer table 10 examples for synchronous transfer interrupts enabled interrupts (register msti) generated interrupts (register sti) sti stov sti stov xy 0 -xy 0 -example 1 -xy 0 --example 2 xy 0 xy 1 xy 0 xy 1 example 3 xy 0 xy 0 ; xy 1 xy 0 xy 0 ; xy 1 example 4 xy 0 ; xy 1 xy 0 ; xy 1 xy 0 xy 1 xy 0 xy 1 example 5 xy 0 ; xy 1 xy 1 xy 0 xy 1 - xy 1 example 6 xy 0 ; xy 1 xy 0 ; xy 1 ; xy 2 xy 0 xy 1 xy 0 ; xy 2 xy 1 ; xy 2 example 7 sti11 msti sti sti10 sti20 sti21 stov10 stov11 stov20 stov21 sti11 sti10 sti20 sti21 stov10 stov11 stov20 stov21 ack11 asti ack10 ack20 ack21 st icb mos tran icd cic aux interrupt ista mask mos tran aux ica st icb icd cic ica 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 107 2003-01-30 figure 58 shows some examples based on the timeslot structure. figure a) shows at which point in time an sti and stov interrrupt is generated for a specific timeslot. figure b) is identical to example 3 above, figure c) corresponds to example 5 and figure d) shows example 4. . figure 58 examples for the synchronous transfer interrupt control with one enabled stixy xy: 10 11 21 20 cda_tdspxy.tss: ts0 ts1 ts5 ts11 msti.stixy: '0' '1' '1' '1' msti.stovxy: '0' '1' '1' '1' ts7 ts5 ts6 ts4 ts3 ts1 ts2 ts0 ts11 ts9 ts10 ts8 ts0 ts11 a) interrupts for data access to time slot 0 (b1 after reset), msti.sti10 and msti.stov10 enabled xy: 10 11 21 20 cda_tdspxy.tss: ts0 ts1 ts5 ts11 msti.stixy: '0' '1' '1' '1' msti.stovxy: '1' '1' '0' '1' ts7 ts5 ts6 ts4 ts3 ts1 ts2 ts0 ts11 ts9 ts10 ts8 ts0 ts11 b) interrupts for data access to time slot 0 (b1 after reset), stov interrupt used as flag for "intermediate cda access"; msti.sti10 and msti.stov21 enabled c) interrupts for data access to time slot 0 and 5, msti.sti10, msti.stov10, msti.sti21 and msti.stov21 enabled sti_stov.vsd xy: 10 11 21 20 cda_tdspxy.tss: ts0 ts1 ts5 ts11 msti.stixy: '0' '1' '0' '1' msti.stovxy: '0' '1' '0' '1' ts7 ts5 ts6 ts4 ts3 ts1 ts2 ts0 ts11 ts9 ts10 ts8 ts0 ts11 d) interrupts for data access to time slot 0 (b1 after reset), stov21 interrupt used as flag for "intermiediate cda access", stov10 interrupt used as flag for "cda access failed"; msti.sti10, msti.stov10 and msti.stov21 enabled xy: 10 11 21 20 cda_tdspxy.tss: ts0 ts1 ts5 ts11 msti.stixy: '0' '1' '1' '1' msti.stovxy: '0' '1' '0' '1' ts7 ts5 ts6 ts4 ts3 ts1 ts2 ts0 ts11 ts9 ts10 ts8 ts0 ts11 : stov interrupt generated for a not acknowledged sti interrupt : sti interrupt generated 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 108 2003-01-30 restrictions concerning monitoring and shifting data due to the hardware design, there are some restrictions for the cda shifting data function and for the cda monitoring data function. the selection of the cda registers is restricted if other functional blocks of the ipac-x (transceiver cores, hdlc controllers, ci handler, monitor handler, tic bus etc.) access the corresponding timeslot. if no functional block is assigned to a certain timeslot, any cda register can be used for monitoring or shifting it. if a timeslot is already occupied by a functional block in a certain transmission direction, only cda registers with odd numbers (cda11/21) can be assigned to odd timeslots and cda registers with even numbers (cda10/20) can be assigned to even timeslots in the same transmission direction. for the other transmission direction every cda register can be used. (example: if ts 5 is already occupied in dd direction, only cda11 and 21 can be used for monitoring it. for monitoring ts 5 in du direction, also cda10 or cda20 could be used.) if above guideline is not considered, data can be overwritten in corresponding timeslots. in this context no general rules can be derived in which way the data are overwritten. the usage of the looping data and switching data functions are unrestricted. restrictions concerning read/write access if data shall be read out from a certain transmission direction and other data shall be written in the opposite transmission direction in the same timeslot, only special cda register combinations can be used. the correct behavior can be achieved with the following cda register combinations: with other register combinations unintended loops or erroneous monitorings can occur or wrong data is written to the iom interface. unexpected write/read behavior of cda registers if inputs and outputs are disabled, the programmed values of cda10/11/20/21 registers cannot be read back. instead of the expected value the content of the previous programming can be read out. the programmed value (5a h in the following example) will be fetched if the output is enabled. table 11 cda register combinations with correct read/write access cda register combination 1234 data of the downstream timeslot is read by cda10 cda11 cda20 cda21 data is written to the upstream timeslot from cda20 cda21 cda10 cda11 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 109 2003-01-30 example: w cda1_cr = 00 h (inputs and outputs are disabled) w cda10 = 5a h (example) r cda10 = ff h (old value of previous programming) w cda1_cr = 02 h (output of cda10 is enabled) r cda10 = 5a h (the programmed value can be read back) 3.7.1.2 idsl support iom-2 interface the iom handler of the ipac-x provides a flexible access of the b-channel hdlc controllers to the timeslots on iom-2 which may be used for idsl applications. one of the two b-channel hdcl controllers is programmed to transparent mode and its fifo is programmed to certain timeslot on iom-2, while the second b-channel controller and the d-channel controller is unused ( figure 59 ) . figure 59 timeslot assignment on iom-2 this b-channel hdlc controller is assigned to three timeslots on iom-2, which are two 8-bit timeslots and one 2-bit timeslot. for each of the 3 timeslots the timeslot position (timeslot number) and data port (du, dd) can individually be selected. additionally, each of the 3 timeslots can individually be enabled/disabled so any combination of the 3 b-channel hdlc 1 tx/rx fifos b-channel hdlc 2 tx/rx fifos d-channel hdlc tx/rx fifos s transceiver iom-2 interface host s timeslot assignement of fifo data to iom-2 timeslots (described in this chapter) 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 110 2003-01-30 timeslots can be configured, i.e. during each fsc frame the hdlc/fifo will access 2 bit, 8 bit, 10 bit, 16 bit or 18 bit. some examples for access to iom timeslots are given in figure 60 :  example 1 shows 18-bit access to b1 + b2 + d  example 2 shows 10-bit access to b2 + d  example 3 shows 10-bit access to b1 + d in channel 1  example 4 shows 16-bit access to mon0 + mon1. . figure 60 examples for hdlc controller access the following registers are used to configur e one of the two b-channel hdlc controllers (channel a or b) for that (x = a or b):  bchx_tsdp_bc1 consists of bits for timeslot selection (tss) and data port selection (dps) to program the first 8-bit timeslot.  bchx_tsdp_bc2 consists of bits for timeslot selection (tss) and data port selection (dps) to program the second 8-bit timeslot.  bchx_cr consists of bits for channel selection (cs2-0) and data port selection (dps_d) to program the 2-bit timeslot. another 3 bits are used to selectively enable/ disable the first 8-bit timeslot (en_bc1), the second 8-bit timeslot (en_bc2) and the 2-bit timeslot (en_d). 21550_24 b1 b2 d channel 0 channel 1 channel 2 fsc du/dd hdlc controller access: example 1 example 2 example 3 example 4 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 111 2003-01-30 s interface data which is read from and written to the io m-2 interface by the b-channel controller as described in the previous chapter is received from and transmitted to the s interface ( figure 61 ). . figure 61 timeslot assignment on s as the timeslot structure of the iom-2 interface is different from the s interface, it is important to consider the delay and mapping of data between both interfaces. figure 61 shows the example for bundling 2b+d channels for transmission of 144 kbit/ s. serial data from the fifo is mapped to the corresponding b- and d-channel timeslots on iom-2. the itu i.430 specifies the order and timeslot position of b- and d-channel data on the s-frame. due to that the order of b- and d-channel data on s is different from iom-2 which has the effect that mapping of data from iom-2 to s will change the original order of the serial data stream. however, this has no effect as the remote receiver is using the same mechanism for mapping data between s and iom-2. in ipac-x b- and d-channel bits of one iom-frame are mapped to the corresponding timeslots of the same s-frame. . figure 62 mapping of bits from iom-2 to s b-channel hdlc 1 tx/rx fifos b-channel hdlc 2 tx/rx fifos d-channel hdlc tx/rx fifos s transceiver iom-2 interface host s mapping of data between iom-2 and s-interface (described in this chapter) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 next fsc-frame mapping of serial data on iom-2 1 2 3 4 5 6 7 8 b1 b2 9 10 11 12 13 14 15 16 d 17 18 19 20 serial data in fifo 17 18 mapping from iom-2 to s 1 2 3 4 5 6 7 8 b1 b2 9 10 11 12 13 14 15 16 d d 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 112 2003-01-30 3.7.2 serial data strobe si gnal and strobed data clock for timeslot oriented standard devices connected to the iom-2 interface the ipac-x provides two independent data strobe signals sds1 and sds2. instead of a data strobe signal a strobed iom-2 bit clock can be provided on pin sds1 and sds2. 3.7.2.1 serial data strobe signal the two strobe signals can be generated with every 8-khz frame and are controlled by the registers sds1/2_cr. by programming the tss bits and three enable bits (ens_tss, ens_tss+1, ens_tss+3) a data strobe can be generated for the iom-2 time slots ts, ts+1 and ts+3 and any combination of them. the data strobes for ts and ts+1 are always 8 bits long (bit7 to bit0) whereas the data strobe for ts+3 is always 2 bits long (bit7, bit6). figure 63 shows three examples for the generation of a strobe signal. in example 1 the sds is active during channel b2 on iom-2 whereas in the second example during ic2 and mon1. the third example shows a strobe signal for 2b+d channels which can be used e.g. for an idsl (144kbit/s) transmission. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 113 2003-01-30 figure 63 data strobe signal fsc dd,du m r m x d ci0 sds1,2 (example1) sds1,2 (example2) sds1,2 (example3) tss ens_tss ens_tss+1 ens_tss+3 example 1: = '0 h ' = '0' = '1' = '0' tss ens_tss ens_tss+1 ens_tss+3 example 2: = '5 h ' = '1' = '1' = '0' tss ens_tss ens_tss+1 ens_tss+3 example 3: = '0 h ' = '1' = '1' = '1' ts0 ts11 ts10 ts9 ts8 ts7 ts6 ts5 ts4 ts3 ts2 ts1 ts0 ts1 b1 b2 mon0 ic1 ic2 mon1 m r m x ci1 strobe.vsd for all examples sds_conf.sds1/2_bcl must be set to ?0?. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 114 2003-01-30 3.7.2.2 strobed iom-2 bit clock the strobed iom-2 bit clock is active during the programmed window. outside the programmed window a ?0? is driven. two examples are shown in figure 64 . figure 64 strobed iom-2 bit clock. register sds_conf programmed to 01 h the strobed bit clock can be enabled in sds_conf.sds1/2_bcl. fsc dd,du m r m x d ci0 sds1 (example1) sds1 (example2) ts0 ts11 ts10 ts9 ts8 ts7 ts6 ts5 ts4 ts3 ts2 ts1 ts0 ts1 b1 b2 mon0 ic1 ic2 mon1 m r m x ci1 bcl_strobed.vsd tss ens_tss ens_tss+1 ens_tss+3 example 1: = '0 h ' = '0' = '0' = '1' tss ens_tss ens_tss+1 ens_tss+3 example 2: = '5 h ' = '1' = '1' = '0' setting of sds1_cr: for all examples sds_conf.sds1_bcl must be set to ?1?. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 115 2003-01-30 3.7.3 iom-2 monitor channel the iom-2 monitor channel (see figure 65 ) is utilized for information exchange in the monitor channel between a master mode device and a slave mode device. the montior channel data can be controlled by the bits in the monitor control register (mon_cr). for the transmission of the monitor data one of the iom-2 channels (3 iom-2 channels in te mode, 8 channels in non te mode) can be selected by setting the monitor channel selection bits (mcs) in the monitor control register (mon_cr). the dps bit in the same register selects between an output on du or dd respectively and with en_mon the monitor data can be enabled/disabled. the default value is monitor channel 0 (mon0) enabled and transmission on dd. figure 65 examples of monitor channel applications in iom -2 te mode 21150_08 monitor handler layer 1 v/d module (e.g. arcofi-ba) iom-2 monitor channel ipac-x c monitor handler layer 1 v/d module (e.g. isar34) iom-2 monitor channel ipac-x c ipac-x as master device ipac-x as slave device monitor handler layer 1 v/d module (e.g. isar34) iom-2 monitor channel ipac-x c data exchange between two c systems c 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 116 2003-01-30 the monitor channel of the ipac-x can be used in following applications which are illustrated in figure 65 : as a master device the ipac-x can program and control other devices attached to the iom-2 which do not need a parallel microcontroller interface, e.g. arcofi-ba psb 2161. this facilitates redesigning existing terminal designs in which e.g. an interface of an expansion slot is realized with iom-2 interface and monitor programming. as a slave device the transceiver part of the ipac-x is programmed and controlled from a master device on iom-2 (e.g. isar 34 psb 7115). this is used in applications where no microcontroller is connected directly to the ipac-x in order to simplify host interface connection. the hdlc controlling is processed by the master device therefore the hdlc data is transferred via iom-2 interface directly to the master device. for data exchange between two microcontroller systems attached to two different devices on one iom-2 backplane. use of the monitor channel avoids the necessity of a dedicated serial communication path between the two systems. this simplifies the system design of terminal equipment. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 117 2003-01-30 3.7.3.1 handshake procedure the monitor channel operates on an asynchronous basis. while data transfers on the bus take place synchronized to frame sync, the flow of data is controlled by a handshake procedure using the monitor channel receive (mr) and monitor channel transmit (mx) bits. data is placed onto the monitor channel and the mx bit is activated. this data will be transmitted once per 8-khz frame until the transfer is acknowledged via the mr bit. the monitor channel protocol is described in the following section and figure 66 illustrates this. the relevant control and status bits for transmission and reception are listed in table 12 and table 13 . table 12 transmit direction control/ status bit register bit function control mocr mxc mx bit control mie transmit interrupt enable status mosr mda data acknowledged mab data abort msta mac transmission active table 13 receive direction control/ status bit register bit function control mocr mrc mr bit control mre receive interrupt enable status mosr mdr data received mer end of reception 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 118 2003-01-30 figure 66 monitor channel protocol (iom-2) itd10032 mon mx transmitter mr 1 1 ff ff 1 1 adr 0 1 0 0 data1 0 1 data1 adr 0 0 data1 0 1 data1 0 0 0 0 data2 0 1 data2 data2 0 1 data2 0 0 ff 1 0 ff 1 0 ff 1 1 ff 1 1 receiver mie = 1 mox = adr mxc = 1 mac = 1 mox = data1 mda int. mda int. mda int. mxc = 0 mdr int. rd mor (=adr) mrc = 1 mdr int. mdr int. mrc = 0 mer int. p p 125 s rd mor (=data1 ) rd mor (=data2 ) mox = data2 mac = 0 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 119 2003-01-30 before starting a transmission, the microprocessor should verify that the transmitter is inactive, i.e. that a possible previous transmission has been terminated. this is indicated by a ?0? in the monitor channel active mac status bit. after having written the monitor data transmit (mox) register, the microprocessor sets the monitor transmit control bit mxc to ?1?. this enables the mx bit to go active (0), indicating the presence of valid monitor data (contents of mox) in the corresponding frame. as a result, the receiving device stores the monitor byte in its monitor receive mor register and generates an mdr interrupt status. alerted by the mdr interrupt, the microprocessor reads the monitor receive (mor) register. when it is ready to accept data (e.g. based on the value in mor, which in a point-to-multipoint application might be the address of the destination device), it sets the mr control bit mrc to ?1? to enable the receiver to store succeeding monitor channel bytes and acknowledge them according to the monitor channel protocol. in addition, it enables other monitor channel interrupts by setting monitor interrupt enable (mie) to ?1?. as a result, the first monitor byte is acknowledged by the receiving device setting the mr bit to ?0?. this causes a monitor data acknowledge mda interrupt status at the transmitter. a new monitor data byte can now be written by the microprocessor in mox. the mx bit is still in the active (0) state. the transmitter indicates a new byte in the monitor channel by returning the mx bit active after sending it once in the inactive state. as a result, the receiver stores the monitor byte in mor and generates a new mdr interrupt status. when the microprocessor has read the mor register, the receiver acknowledges the data by returning the mr bit active after sending it once in the inactive state. this in turn causes the transmitter to generate an mda interrupt status. this "mda interrupt ? write data ? mdr interrupt ? read data ? mda interrupt" handshake is repeated as long as the transmitter has data to send. note that the monitor channel protocol imposes no maximum reaction times to the microprocessor. when the last byte has been acknowledged by the receiver (mda interrupt status), the microprocessor sets the monitor transmit control bit mxc to ?0?. this enforces an inactive (?1?) state in the mx bit. two frames of mx inactive signifies the end of a message. thus, a monitor channel end of reception mer interrupt status is generated by the receiver when the mx bit is received in the inactive state in two consecutive frames. as a result, the microprocessor sets the mr control bit mrc to 0, which in turn enforces an inactive state in the mr bit. this marks the end of the transmission, making the monitor channel active mac bit return to ?0?. during a transmission process, it is possible for the receiver to ask a transmission to be aborted by sending an inactive mr bit value in two consecutive frames. this is effected by the microprocessor writing the mr control bit mrc to ?0?. an aborted transmission is indicated by a monitor channel data abort mab interrupt status at the transmitter. the monitor transfer protocol rules are summarized in the following section: 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 120 2003-01-30  a pair of mx and mr in the inactive state for two or more consecutive frames indicates an idle state or an end of transmission . a start of a transmission is initiated by the transmitter by setting the mxc bit to ?1? enabling the internal mx control. the receiver acknowledges the received first byte by setting the mr control bit to ?1? enabling the internal mr control.  the internal mx,mr control indicates or acknowledges a new byte in the mon slot by toggling mx,mr from the active to the inactive state for one frame.  two frames with the mx-bit in the inactive state indicate the end of transmission .  two frames with the mr-bit set to inactive indicate a receiver request for abort .  the transmitter can delay a transmission sequence by sending the same byte continuously. in that case the mx-bit remains active in the iom-2 frame following the first byte occurrence. delaying a transmission sequence is only possible while the receiver mr-bit and the transmitter mx-bit are active. since a double last-look criterion is implemented the receiver is able to receive the mon slot data at least twice (in two consecutive frames), the receiver waits for the acknowledge of the reception of two identical bytes in two successive frames.  to control this handshake procedure a collision detection mechanism is implemented in the transmitter. this is done by making a collision check per bit on the transmitted monitor data and the mx bit.  monitor data will be transmitted repeatedly until its reception is acknowledged or the transmission time-out timer expires.  two frames with the mx bit in the inactive state indicates the end of a message (eom).  transmission and reception of monitor messages can be performed simultaneously. this feature is used by the ipac-x to send back the response before the transmission from the controller is completed (the ipac-x does not wait for eom from controller). 3.7.3.2 error treatment in case the ipac-x does not detect identical monitor messages in two successive frames, transmission is not aborted. instead the ipac-x will wait until two identical bytes are received in succession. a transmission is aborted of the ipac-x if:  an error in the mr handshaking occurs  a collision on the iom-2 bus of the monitor data or mx bit occurs  the transmission time-out timer expires a reception is aborted by the device if:  an error in the mx handshaking occurs or  an abort request from the opposite device occurs 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 121 2003-01-30 mx/mr treatment in error case in the master mode the mx/mr bits are under control of the microcontroller through mxc or mrc, respectively. an abort is indicated by an mab interrupt or mer interrupt, respectively. in the slave mode the mx/mr bits are under control of the device. an abort is always indicated by setting the mx/mr bit inactive for two or more iom-2 frames. the controller must react with eom. figure 67 shows an example for an abort requested by the receiver, figure 68 shows an example for an abort requested by the transmitter and figure 69 shows an example for a successful transmission. figure 67 monitor channel, transmission abort requested by the receiver figure 68 monitor channel, transmission abort requested by the transmitter mx (du) iom -2 frame no. 1 2 345 67 eom mr (dd) 1 0 1 0 mon_rec-abort.vsd abort request from receiver mr (du) iom -2 frame no. 1 2 345 67 mx (dd) 1 0 1 0 eom mon_tx-abort.vsd abort request from transmitter 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 122 2003-01-30 figure 69 monitor channel, normal end of transmission 3.7.3.3 monitor channel programming as a master device as a master device the ipac-x can program and control other devices attached to the iom-2 interface. the master mode is selected by default if one of the possible microcontroller interfaces are selected. the monitor data is written by the microprocessor in the mox register and transmitted via iom-2 dd (du) line to the programmed/controlled device, e.g. arcofi-ba psb 2161 or iec-q te psb 21911. the transfer of the commands in the mon channel is regulated by the handshake protocol mechanism with mx, mr which is described in the previous chapter 3.7.3.1 . if the transmitted command was a read command the slave device responds by sending the requested data. the data structure of the transmitted monitor message depends on the device which is programmed. therefore the first byte of the message is a specific address code which contains in the higher nibble a monitor channel address to identify different devices. the length of the messages depends on the accessed device and the type of monitor command. mr (du) iom -2 frame no. 1 2 345 67 mx (dd) 1 0 1 0 eom mon_norm.vsd 8 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 123 2003-01-30 3.7.3.4 monitor channel programming as a slave device in applications without direct host controller connection the ipac-x must operate in the monitor slave mode which can be selected by pinstrapping the microcontroller interface pins according table 3 respectively in chapter 3.2 . as a slave device the transceiver part of the ipac-x is programmed and controlled by a master device at the iom-2 interface. all programming data required by the ipac-x is received in the monitor time slot on the iom-2 and is transferred in the mor register. the transfer of the commands in the mon channel is regulated by the handshake protocol mechanism with mx, mr which is described in the previous chapter 3.7.3.1 . the first byte of the monitor message must contain in the higher nibble the monitor channel address code which is ?1010? for the ipac-x. the lower nibble distinguishes between a programming command or an identification command. identification command in order to be able to identify unambiguously different hardware designs of the ipac-x by software, the following identification command is used: the ipac-x responds to this dd identification sequence by sending a du identification sequence: design:six bit code, specific for each device in order to identify differences in operation, e.g.000001ipac-xpeb 21150 v1.1. this identification sequence is usually done once, when the terminal is connected for the first time. this function is used so that the software can distinguish between different possible hardware configurations. however this sequence is not compulsory. dd 1st byte value 10100000 dd 2nd byte value 00000000 du 1st byte value 10100000 du 2nd byte value 0 1 design 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 124 2003-01-30 programming sequence the programming sequence is characterized by a ?1? being sent in the lower nibble of the received address code. the data structure after this first byte and the principle of a read/ write access to a register is similar to the structure of the serial control interface described in chapter 3.2.1.1 . for write access the header 43 h /47 h can be used and for read access the header 40 h /44 h . all registers can be read back when setting the r/w bit in the byte for the command/ register address. the ipac-x responds by sending its iom-2 specific address byte (a1 h ) followed by the requested data. note: application hint: it is not allowed to disable the mx- and mr-control in the programming device at the same time! first, the mx-control must be disabled, then the  c has to wait for an end of reception before the mr-control may be disabled. otherwise, the ipac-x does not recognize an end of reception. 3.7.3.5 monitor time-out procedure to prevent lock-up situations in a monitor transmission a time-out procedure can be enabled by setting the time-out bit (tout) in the monitor configuration register (mconf). an internal timer is always started when the transmitter must wait for the reply of the addressed device. after 5 ms without reply the timer expires and the transmission will be aborted with a eom (end of message) command by setting the mx bit to ?1? for two consecutive iom-2 frames. dd 1st byte value 10100001 dd 2nd byte value header byte dd 3rd byte value r/w register address dd 4th byte value data 1 dd (nth + 3) byte value data n 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 125 2003-01-30 3.7.3.6 monitor interrupt logic figure 70 shows the monitor interrupt structure of the ipac-x. the monitor data receive interrupt status mdr has two enable bits, monitor receive interrupt enable ( mre ) and mr bit control ( mrc ). the monitor channel end of reception mer , monitor channel data acknowledged mda and monitor channel data abort mab interrupt status bits have a common enable bit monitor interrupt enable mie . mre prevents the occurrence of mdr status, including when the first byte of a packet is received. when mre is active (1) but mrc is inactive, the mdr interrupt status is generated only for the first byte of a receive packet. when both mre and mrc are active, mdr is always generated and all received monitor bytes - marked by a 1-to-0 transition in mx bit - are stored (additionally, an active mrc enables the control of the mr handshake bit according to the monitor channel protocol). figure 70 monitor interrupt structure st icb mos tran icd cic wov interrupt ista mask st icb mos tran icd cic wov mre mdr mie mda mer mab mosr mocr ica ica 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 126 2003-01-30 3.7.4 c/i channel handling the command/indication channel carries real-time status information between the ipac-x and another device connected to the iom-2 interface. 1. one c/i channel (called c/i0) conveys the commands and indications between the layer-1 and the layer-2 parts of the ipac-x. it can be accessed by an external layer- 2 device e.g. to control the layer-1 activation/deactivation procedures. c/i0 channel access may be arbitrated via the tic bus access protocol. in this case the arbitration is done in iom-2 channel 2 (see figure 49 ). the c/i0 channel is accessed via register cir0 (in receive direction, layer-1 to layer-2) and register cix0 (in transmit direction, layer-2 to layer-1). the c/i0 code is four bits long. a listing and explanation of the layer-1 c/i codes can be found in chapter 3.5.4 . in the receive direction, the code from layer-1 is continuously monitored, with an interrupt being generated anytime a change occurs (ista.cic). a new code must be found in two consecutive iom-2 frames to be considered valid and to trigger a c/i code change interrupt status (double last look criterion). in the transmit direction, the code written in cix0 is continuously transmitted in c/i0. 2. a second c/i channel (called c/i1) can be used to convey real time status information between the ipac-x and various non-layer-1 peripheral devices, e.g. psb 2161 arcofi-ba. the c/i1 channel consists of four or six bits in each direction. the width can be changed from 4bit to 6bit by setting bit cix1.cicw. in 4-bit mode 6-bits are written whereby the higher 2 bits must be set to ?1? and 6-bits are read whereby only the 4 lsbs are used fo r comparison and interrupt generation (i.e. the higher two bits are ignored). the c/i1 channel is accessed via registers cir1 and cix1. a change in the received c/i1 code is indicated by an interrupt status without double last look criterion. cic interrupt logic figure 71 shows the cic interrupt structure. a cic interrupt may originate: ? from a change in received c/i channel 0 code (cic0) or ? from a change in received c/i channel 1 code (cic 1). the two corresponding status bits cic0 and cic1 are read in cir0 register. cic1 can be individually disabled by clearing the enable bit ci1e in the cix1 register. in this case the occurrence of a code change in cir1 will not be displayed by cic1 until the corresponding enable bit has been set to one. bits cic0 and cic1 are cleared by a read of cir0. an interrupt status is indicated every time a valid new code is loaded in cir0 or cir1. the cir0 is buffered with a fifo size of two. if a second code change occurs in the 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 127 2003-01-30 received c/i channel 0 before the first one has been read, immediately after reading of cir0 a new interrupt will be generated and the new code will be stored in cir0. if several consecutive codes are detected, only the first and the last code is obtained at the first and second register read, respectively. for cir1 no fifo is available. the actual code of the received c/i channel 1 is always stored in cir1. figure 71 cic interrupt structure st icb mos tran icd cic wov interrupt ista mask cic1 ci1e cic0 cir0 cix1 mos tran wov ica st icb icd cic ica 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 128 2003-01-30 3.7.5 d-channel access control d-channel access control is defined to guarantee all connected tes and hdlc controllers a fair chance to transmit data in the d-channel. collisions are possible:  on the iom-2 interface if there is more than one hdlc controller connected or  on the s-interface when there is more than one terminal connected in a point to multipoint configuration (nt  te1 ? te8). both arbitration mechanisms are implemented in the ipac-x and will be described in the following two chapters. 3.7.5.1 tic bus d-channel access control the tic bus is imlemented to organize the access to the layer-1 functions provided in the ipac-x (c/i-channel) and to the d-channel from up to 7 external communication controllers (see figure 72 ). note: the tic bus can be used in te/int mode only. in other modes it has to be switched off in order not to disturb the layer-1 control and the hdlc controller. this is done by setting bit dim 1 in register mode d and bit 4 in register iom_cr. for more details please refer to the application note ?reconfigurable pbx?. to this effect the outputs of the d-channel controllers (e.g. icc - isdn communication controller peb 2070) are wired-or (negative logic, i.e. a ?0? wins) and connected to pin du. the inputs of the iccs are connected to pin dd. external pull-up resistors on du/ dd are required. the arbitration mechanism must be activated by setting moded.dim2- 0=00x. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 129 2003-01-30 figure 72 applications of tic bus in iom-2 bus configuration the arbitration mechanism is implemented in the last octet in iom-2 channel 2 of the iom-2 interface (see figure 73 ). an access request to the tic bus may either be generated by software (p access to the c/i channel) or by the ipac-x itself (transmission of an hdlc frame in the d-channel). a software access request to the bus is effected by setting the bac bit (cix0 register) to ?1?. in the case of an access request, the ipac-x checks the bus accessed-bit bac (bit 5 of last octet of ch2 on du, see figure 73 ) for the status "bus free?, which is indicated by a logical ?1?. if the bus is free, the ipac-x transmits its individual tic bus address tad programmed in the cix0 register (cix0.tba2-0). the ipac-x sends its tic bus address tad and compares it bit by bit with the value on du. if a sent bit set to ?1? is read back as ?0? because of the access of another d-channel source with a lower tad, the ipac- x withdraws immediately from the tic bus, i.e. the remaining tad bits are not transmitted. the tic bus is occupied by the device which sends its address error-free. if more than one device attempt to seize the bus simultaneously, the one with the lowest address values wins. this one will set bac=0 on tic bus and starts d-channel transmission in the same frame. 21150_09 icc (7) icc (2) icc (1) . . . d-channel control s- transceiver ipac-x nt tic-bus on iom-2 s-interface u-interface 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 130 2003-01-30 figure 73 structure of last octet of ch2 on du when the tic bus is seized by the ipac-x, the bus is identified to other devices as occupied via the du ch2 bus accessed-bit state ?0? until the access request is withdrawn. after a successful bus access, the ipac-x is automatically set into a lower priority class, that is, a new bus access cannot be performed until the status "bus free" is indicated in two successive frames. if none of the devices connected to the iom-2 interface request access to the d and c/ i channels, the tic bus address 7 will be present. the device with this address will therefore have access, by default, to the d and c/i channels. note: bit bac (cix0 register) should be reset by the  p when access to the c/i channels is no more requested, to grant other devices access to the d and c/i channels. 3.7.5.2 s-bus priority mechanism for d-channel the s-bus access procedure specified in itu i.430 was defined to organize d-channel access with multiple tes connected to a single s-bus (see figure 75 ). to implement collision detection the d (channel) and e (echo) bits are used. the d- channel s-bus condition is indicated towards the iom-2 interface with the s/g bit, i.e. the availability of the s/t interface d channel is indicated in bit 5 "stop/go" (s/g) of the dd last octet of ch2 channel ( figure 74 ). s/g = 1 : stop s/g = 0 : go d u 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 131 2003-01-30 figure 74 structure of last octet of ch2 on dd the stop/go bit is available to other layer-2 devices connected to the iom-2 interface to determine if they can access the s/t bus d channel. the access to the d-channel is controlled by a priority mechanism which ensures that all competing tes are given a fair access chance. this priority mechanism discriminates among the kind of information exchanged and information exchange history: layer-2 frames are transmitted in such a way that signalling information is given priority (priority class 1) over all other types of information exchange (priority class 2). furthermore, once a te having successfully completed the transmission of a frame, it is assigned a lower level of priority of that class. the te is given back its normal level within a priority class when all tes have had an opportunity to transmit information at the normal level of that priority class. the priority mechanism is based on a rather simple method: a te not transmitting layer-2 frames sends binary 1s on the d-channel. as layer-2 frames are delimited by flags consisting of the binary pattern ?01111110? and zero bit insertion is used to prevent flag imitation, the d-channel may be considered idle if more than seven consecutive 1s are detected on the d-channel. hence by monitoring the d echo channel, the te may determine if the d-channel is currently used by another te or not. a te may start transmission of a layer-2 frame first when a certain number of consecutive 1s has been received on the echo channel. this number is fixed to 8 in priority class 1 and to 10 in priority class 2 for the normal level of priority; for the lower level of priority the number is increased by 1 in each priority class, i.e. 9 for class 1 and 11 for class 2. a te, when in the active condition, is monitoring the d echo channel, counting the number of consecutive binary 1s. if a 0 bit is detected, the te restarts counting the number of consecutive binary 1s. if the required number of 1s according to the actual level of priority has been detected, the te may start transmission of an hdlc frame. if a collision occurs, the te immediately shall cease transmission, return to the d-channel monitoring state, and send 1s over the d-channel. itd09693 d ci1 mon1 ic2 ic1 ci0 mon0 b2 b1 mr mx mx mr s/g a/b a/b s/g stop/go available/blocked dd e e 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 132 2003-01-30 figure 75 d-channel access control on the s-interface s-bus d-channel access control in the ipac-x the above described priority mechanism is fully implemented in the ipac-x. for this purpose the d-channel collission detection according to itu i.430 must be enabled by setting moded.dim2-0 to ?0x1?. in this case the transceiver continuously compares the received e-echo bits with its own transmitted d data bits. depending on the priority class selected, 8 or 10 consecutive ones (high priority level, priority 8) need to be detected before the transceiver sends valid d-channel data on the upstream d-bits on s. in low priority level (priority 10) 10 or 11 consecutive ones are required. the priority class (priority 8 or priority 10) is selected by transferring the appropriate activation command via the command/indication (c/i) channel of the iom-2 interface to the transceiver. if the activation is initiated by a te, the priority class is selected implicitly by the choice of the activation command. if the s-interface is activated from the nt, an activation command selecting the desired priority class should be programmed at the te on reception of the activation indication (ai8 or ai10). in the activated state the priority class may be changed whenever required by simply programming the desired activation request command (ar8 or ar10). 21150_10 d-channel control s- transceiver d-channel control s- transceiver ipac-x nt s-interface d-bits d-channel control s- transceiver e-bits u-interface . . . te 1 te 2 te 8 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 133 2003-01-30 3.7.5.3 s-bus d-channel control in lt-t if the te frame structure on the iom-2 interface is selected, the same d-channel access procedures as described in chapter 3.7.5.2 are used in lt-t mode. for other frame structures used in lt-t mode, d-channel access on s is handled similarly, with the difference that the s/g bit is not available on iom-2 but only on the s/g bit output pin (sgo). 3.7.5.4 d-channel control in the intelligent nt (tic- and s-bus) in intelligent nt applications (selected via register tr_mode.mode2-0) the ipac-x has to share the upstream d-channel with one or more d-channel controllers on the iom-2 interface and with all connected tes on the s interface. the transceiver incorporates an elaborate statemachine for d-channel priority handling on iom-2. for the access to the d-channel a similar arbitration mechanism as on the s interface (writing d-bits, reading back e-bits) is performed for all d-channel sources on iom-2. due to this an equal and fair access is guaranteed for all d-channel sources on both the s interface and the iom-2 interface. this arbitration mechanism is only available in iom-2 te mode (12 pcm timeslots) per frame with enabled tic bus. the access to the upstream d-channel is handled via the s/g bit for the hdlc controllers and via e-bit for all connected terminals on s (e-bits are inverted to block the terminals on s). furthermore, if more than one hdlc source is requesting d-channel access on iom-2 the tic bus mechanism is used. the arbiter permanently counts the ?1s? in the upstream d-channel on iom-2. if the necessary number of ?1s? is counted and an hdlc controller on iom-2 requests upstream d-channel access (bac bit is set to 0), the arbiter allows this d-channel controller immediate access and blocks other tes on s (e-bits are inverted). similar as on the s-interface the priority for d-channel access on iom-2 can be configured to 8 or 10 (tr_cmd.dprio). the upstream device can stop all d-channel sources by setting the a/b-bit to 0. the s/ g bit is not evaluated in this mode. the configuration settings of the ipac-x in intelligent nt applications are summarized in table 14 . 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 134 2003-01-30 note: for mode selection in the tr_mode register the mode1/2 bits are used to select intelligent nt mode, mode0 selects nt or lt-s state machine. with the configuration settings shown above the ipac-x in intelligent nt applications provides for equal access to the d-channel for terminals connected to the s-interface and for d-channel sources on iom-2. for a detailed understanding the following sections provide a complete description on the procedures used by the d-channel priority handler on iom-2, although it may not be necessary to study that in order to use this mode. table 14 ipac-x configuration settings in intelligent nt applications functional block configuration description configuration setting layer 1 select intelligent nt mode transceiver mode register: tr_mode.mode0 = 0 (nt state machine) or tr_mode.mode0 = 1 (lt-s state machine) tr_mode.mode1 = 1 tr_mode.mode2 = 1 layer 2 enable s/g bit evaluation d-channel mode register: moded.dim2-0 = 001 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 135 2003-01-30 1. nt d-channel controller transmits upstream in the initial state (?ready? state) neither the local d-channel sources nor any of the terminals connected to the s-bus transmit in the d-channel. the ipac-x s-transceiver thus receives bac = ?1? (iom-2 du line) and transmits s/g = ?1? (iom-2 dd line). the access will then be established according to the following procedure:  local d-channel source verifies that bac bit is set to one (currently no bus access).  local d-channel source issues tic bus address and verifies that no controller with higher priority requests transmission (tic bus access must always be performed even if no other d-channel sources are connected to iom-2).  local d-channel source issues bac = ?0? to block other sources on iom-2 and to announce d-channel access.  ipac-x s-transceiver pulls s/g bit to zero (?idle? state) as soon as n d-bits = ?1? are counted on iom-2 (see note) to allow for further d-channel access.  ipac-x s-transceiver transmits inverted echo channel (e bits) on the s-bus to block all connected s-bus terminals (e = d ).  local d-channel source commences with d data transmission on iom-2 as long as it receives s/g = ?0?.  after d-channel data transmission is completed the controller sets the bac bit to one.  ipac-x s-transceiver transmits non-inverted echo (e = d).  ipac-x s-transceiver pulls s/g bit to one (?ready? state) to block the d-channel controller on iom-2. note: right after transmission the s/g bit is pulled to ?1? until n successive d-bits = ?1? occur on the iom-2 interface. as soon as n d-bits = ?1? are seen, the s/g bit is set to ?0? and the ipac-x d-channel controller may start transmission again (if tic bus is occupied). this allows an equal access for d-channel sources on iom-2 and on the s interface. the number n depends on configuration settings (selected priority 8 or 10) and the condition of the previous transmission, i.e. if an abort was seen (n = 8 or 10, respectively) or if the last transmission was successful (n = 9 or 11, respectively). figure 76 illustrates the signal flow in an intelligent nt. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 136 2003-01-30 2. terminal transmits d-channel data upstream the initial state is identical to that described in the last paragraph. when one of the connected s-bus terminals needs to transmit in the d-channel, access is established according to the following procedure:  ipac-x s-transceiver (in intelligent nt) recognizes that the d-channel on the s-bus is active.  ipac-x s-transceiver transfers s-bus d-channel data transparently through to the upstream iom-2 bus (iom-2 channel 0). for both cases described above the exchange indicates via the a/b bit (controlled by layer 1) that d-channel transmission on this line is permitted (a/b = ?1?). data transmission could temporarily be prohibited by the exchange when only a single d-channel controller handles more lines (a/b = ?0?, elic-concept). in case the exchange prohibits d data transmission on this line the a/b bit is set to ?0? (block). for u pn applications with s extension this forces the intelligent nt ipac-x s-transceiver to transmit an inverted echo channel on the s-bus, thus disabling all terminal requests, and switches s/g to a/b , which blocks the d-channel controller in the intelligent nt. note: although the ipac-x s-transceiver operates in lt-s mode and is pinstrapped to iom-2 channel 0 or 1 it will write into iom-2 channel 2 at the s/g bit position. figure 76 data flow for collision resolution procedure in intelligent nt layer 1 d-channel controller (te mode timing) u transceiver iom-2 masterdevice, e.g. iec-q te ipac-x (lt-s mode) du dd d d d s/g bac d s/g a/b bac tba d s d-channel e-channel te te te exchange d iom d-channel controller e.g. icc peb 2070 21150_03 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 137 2003-01-30 3.7.6 activation/deactivation of iom-2 interface the iom-2 interface can be switched off in the inactive state, reducing power consumption to a minimum. in this deactivated state is fsc = ?1?, dcl and bcl = ?0? and the data lines are ?1?. the iom-2 interface can be kept active while the s interface is deactivated by setting the cfs bit to "0" (mode1 register). this is the case after a hardware reset. if the iom-2 interface should be switched off while the s interface is deactivated, the cfs bit should be set to ?1?. in this case the internal oscillator is disabled when no signal (info 0) is present on the s bus and the c/i command is ?1111? = diu. if the te wants to activate the line, it has first to activate the iom-2 interface either by using the "software power up" function (iom_cr.spu bit) or by setting the cfs bit to "0" again. the deactivation procedure is shown in figure 77 . after detecting the code diu (deactivate indication upstream) the layer 1 of the ipac-x responds by transmitting did (deactivate indication downstream) during subsequent frames and stops the timing signals synchronously with the end of the last c/i (c/i0) channel bit of the fourth frame. figure 77 deactivation of the iom-2 interface the clock pulses will be enabled again when the du line is pulled low (bit spu in the iom_cr register), i.e. the c/i command tim = "0000" is received by layer 1, or when a non-zero level on the s-line interface is detected (if tr_conf0.ldd=0). the clocks are turned on after approximately 0.2 to 4 ms depending on the oscillator. iom  -2 deactivated dc dc dc dc di di di di di di di di di b1 b2 d cio d cio dcl dd du fsc iom  -2 itd09655_s.vsd dr dr dr dr dr 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 138 2003-01-30 dcl is activated such that its first rising edge occurs with the beginning of the bit following the c/i (c/i0) channel. after the clocks have been enabled this is indicated by the pu code in the c/i channel and, consequently, by a cic interrupt. the du line may be released by resetting the software power up bit iom_cr =?0? and the c/i code written to cix0 before (e.g. tim or ar8) is output on du. the ipac-x supplies iom-2 timing signals as long as there is no diu command in the c/i (c/i0) channel. if timing signals are no longer required and activation is not yet requested, this is indicated by programming diu in the cix0 register. figure 78 activation of the iom-2 interface itd09656 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ fsc du dd fsc du dd dcl spu = 1 spu = 0 cic : cixo = tim int. tim pu b1 b1 mx mr 0.2 to 4 ms 132 x dcl tim tim pu pu pu pu r iom -ch1 r iom -ch2 iom -ch2 r iom r -ch1 note: the value ?132 x dcl? is only valid for iom configurations with 3 iom channels. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 139 2003-01-30 asynchronous awake (lt-s, nt, int. nt mode) the transceiver is in power down mode (deactivated state) and mode1.cfs=1 (tr_conf0.ldd is don?t care in this case). due to any signal on the line the level detect circuit will asynchronously pull the du line on iom-2 to ?0? which is deactivated again after 2 ms if the oscillator is fully operational. if the oscillator is just starting up in operational mode, the 2 ms duration is extended correspondingly. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 140 2003-01-30 3.8 auxiliary interface 3.8.1 mode dependent functions the aux interface provides various functions, which depend on the operation mode (te, lt-t, lt-s, nt or intelligent nt mode) selected by pins mode0 and mode1/eaw (see table 15 ). after reset the pins are switched as inputs until further configuration is done by the host. aux0-5 (te, int. nt mode), aux3-5 (lt-t, lt-s, nt mode) these pins can be used as programmable i/o lines. as inputs (aoe.oex=1) the state at the pin is latched in when the host performes read operation to register arx. as outputs (aoe.oex=0) the value in register atx is driven on the pins with a minimum delay after the write operation to this register is performed. they can be configured as open drain (acfg1.odx=0) or push/pull outputs (acfg1.odx=1). the status (?1? or ?0?) at output pins can be read back from register arx, which may be different from the atx value, e.g. if another device drives a different level. fbout aux5 is multiplexed with the selectable fsc/bcl output fbout, i.e. the host can select either standard i/o characteristic (acfg2 .a5sel=0, default) or fbout functionality (acfg2.a5sel=1). fbout provides either an fsc (acfg2.fbs=0, default) or bcl signal (acfg2.fbs=1) which are derived from the dcl clock (also see chapter 3.4 ). table 15 aux pin functions pin te, int. nt mode lt-t, lt-s, nt mode aux0 aux0 (i/o) ch0 (i) aux1 aux1 (i/o) ch1 (i) aux2 aux2 (i/o) ch2 (i) aux3 aux3 (i/o) aux3 (i/o) aux4 aux4 (i/o) / mbit aux4 (i/o) / mbit aux5 aux5 (i/o) / fbout (o) aux5 (i/o) / fbout (o) aux6 int0 (i/o) int0 (i/o) aux7 int1 (i/o) / sgo (o) int1 (i/o) / sgo (o) 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 141 2003-01-30 int0 , int1 in all modes two pins can be used as programmable i/o with optional interrupt input capability (default after reset, i.e. both interrupts masked). the int0/1 pins are general input or output pins like aux0-5 (see description above). in addition to that, as inputs they can generate an interrupt to the host (auxi.int0/1) which is maskable in auxm.int0/1. the interrupt input is either edge or level triggered (acfg2.el0/1). as outputs both pins can directly be connected to an led with preresistor. for both pins aux6/7 internal pull-up resistors are provided if the pin is configured as input or as output with open drain chracteristic. the internal pull-ups are disabled if output mode with push/pull characteristic is selected. sgo aux7 provides the additional capability to output the s/g bit from the iom-2 interface by setting acfg2.a7sel=1. mbit if acfg2.a4sel is set to ?1? the pin aux4 is used for multiframe synchronizstion (see chapter 3.3.3 ) and all configuration as general purpose i/o pin is don?t care. in te and lt-t modes it is used as m-bit output and in lt-s, nt and int. nt mode it is used as m-bit input. ch0, ch1, ch2 in linecard mode one fsc frame is a multiplex of up to eight iom-2 channels, each of them consisting of b1-, b2-, monitor-, d- and c/i-channel and mr- and mx-bits. so in lt-t and lt-s mode one of eight channels on the iom-2 interface is selected by ch0-2. these pins must be strapped to vdd or vss according to table 16 . table 16 iom-2 channel selection ch2 ch1 ch0 channel on iom-2 0000 0011 0102 0113 1004 1015 1106 1117 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 142 2003-01-30 for dcl = 1.536 mhz one of the iom-2 channels 0 - 2 can be selected, for dcl = 4.096 mhz any of the eight iom-2 channels can be selected. the channel select pins have direct effect on the timeslot selection of the following registers:  tr_tsdp_bc1  tr_tsdp_bc2  tr_cr, trc_cr  dci_cr, dcic_cr mon_cr 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 143 2003-01-30 3.9 hdlc controllers the ipac-x contains three hdlc controllers which can arbitrarily be used for the layer-2 functions of the d- channel protocol (lapd) and b-channel protocols. by setting the enable hdlc channel bits (en_d, en_b1h, en_b2h) in the dci_cr/bch_cr registers each of the hdlc controllers ca n access the d or b-channels or any combination of them e.g. 18-bit idsl data (2b+d). they perform the framing functions used in hdlc based communication: flag generation/recognition, bit stuffing, crc check and address recognition. the d-channel fifo has a size of 64 byte per direction. each of the two b-channel fifos has a size of 128 bytes per direction. they are implemented as cyclic buffers. the transceiver reads and writes data sequentially with constant data rate whereas the data transfer between fifo and microcontroller uses a block oriented protocol with variable block sizes. the configuration, control and status bits related to the hdlc controllers are all assigned to the following address ranges: note: for b-channel data access a single address location is used to read from and write to the fifo. for d-channel access the address range 00 h -1f h is used (similar as in isac-s peb 2086), however a single address from this range is sufficient to access the fifo as the internal fifo pointer is incremented automatically independent from the external address. the mechanisms for access to the fifos are identical for d- and b-channels, therefore the following description applies to both of them and for simplification specific references like registers are indicated by an ?x? (stands for ?d? and ?b?) to indicate it is relevant for d- and b-channel (e.g. istax means istad/istab). table 17 hdlc controller address range fifo address config/ctrl/status registers d-channel 00 h -1f h 20 h -29 h b-channel a 7a h 70 h -79 h b-channel b 8a h 80 h -89 h 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 144 2003-01-30 3.9.1 message transfer modes the hdlc controllers can be programmed to operate in various modes, which are different in the treatment of the hdlc frame in receive direction. thus the receive data flow and the address recognition features can be programmed in a flexible way to satisfy different system requirements. the structure of a d-channel two-byte address (lapd) is shown below: for address recognition on the d-channel the ipac-x contains four programmable registers for individual sapi and tei values (sap1, 2 and tei1, 2), plus two fixed values for the ?group? sapi (sapg = ?fe? or ?fc?) and tei (teig = ?ff?). the received c/r bit is excluded from the address comparison. ea is the address field extension bit which must be set to ?1? according to hdlc lapd. the structure of a b-channel two-byte address is as follows: for address recognition on the b-channel the ipac-x contains four programmable registers for individual receive address high and low values (rah1, 2 and ral1, 2), plus two fixed values for the high address byte (group address = ?fe? or ?fc?) and one fixed value for the low address byte (group address = ?ff?). the received c/r bit is excluded from the address comparison. ea is the address field extension bit which must be set to ?1? according to hdlc lapd. operating modes there are 5 different operating modes which can be selected via the mode selection bits mds2-0 in the modex registers: non-auto mode (mds2-0 = ?01x?) characteristics: full address recognition with one-byte (mds = ?010?) or two-byte (mds = ?011?) address comparison all frames with valid addresses are accepted and the bytes following the address are transferred to the  p via rfifox. additional information is available in rstax. high address byte low address byte sapi1, 2, sapg c/r 0 tei 1, 2, teig ea high address byte low address byte rah1, 2, group address c/r 0 ral1, 2, group address 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 145 2003-01-30 transparent mode 0 (mds2-0 = ?110?). characteristics: no address recognition every received frame is stored in rfifox (first byte after opening flag to crc field). additional information can be read from rstax. transparent mode 1 (mds2-0 = ?111?). characteristics: sapi recognition (d-channel) high byte address recognition (b-channel) a comparison is performed on the first byte after the opening flag with sap1, sap2 and ?group? sapi (fe h /fc h ) for d-channel, and with rah1, rah2 and group address (fe h / fc h ) for b-channel. in the case of a match, all the following bytes are stored in rfifox. additional information can be read from rstax. transparent mode 2 (mds2-0 = ?101?). characteristics: tei recognition (d-channel) low byte address recognistion (b-channel) a comparison is performed only on the second byte after the opening flag, with tei1, tei2 and group tei (ff h ) for d-channel, and with ral1 and ral2 for b-channel. in case of a match the rest of the frame is stored in the rfifox. additional information is available in rstax. extended transparent mode (mds2-0 = ?100?). characteristics: fully transparent in extended transparent mode fully transparent data transmission/reception without hdlc framing is performed i.e. without flag generation/recognition, crc generation/ check, bitstuffing mechanism. this allows user specific protocol variations. also refer to chapter 3.9.5 . 3.9.2 data reception 3.9.2.1 structure and control of the receive fifo the cyclic receive fifo buffers with a length of 64-byte for d-channel and 128 byte for each of the two b-channels have variable fifo block sizes (thresholds) of  4, 8, 16 or 32 bytes for d-channel and  8, 16, 32 or 64 bytes for b-channels which can be selected by setting the corresponding rfbs bits in the exmx registers. the variable block size allows an optimized hdlc processing concerning frame length, i/o throughput and interrupt load. the transfer protocol between hdlc fifo an d microcontroller is block oriented with the microcontroller as master. the control of the data transfer between the cpu and the ipac-x is handled via interrupts (ipac-x  host) and commands (host  ipac-x). 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 146 2003-01-30 there are three different interrupt indication s in the istax registers concerned with the reception of data: ? rpf ( r eceive p ool f ull) interrupt, indicating that a data block of the selected length (exmx.rfbs) can be read from rfifox. the message which is currently received exceeds the block size so further blocks will be received to complete the message. ? rme ( r eceive m essage e nd) interrupt, indicating that the reception of one message is completed, i.e. either  a short message is received (message length  the defined block size (exmx.rfbs)) or  the last part of a long message is received (message length the defined block size (exmx.rfbs)) and is stored in the rfifox. ? rfo ( r eceive f rame o verflow) interrupt, indicating that a complete frame could not be stored in rfifox and is therefore lost as the rfifox is occupied. this occurs if the host fails to respond quickly enough to rpf/rme interrupts since previous data was not read by the host. there are two control commands that are used with the reception of data: ? rmc ( r eceive m essage c omplete) command, telling the ipac-x that a data block has been read from the rfifox and the corresponding fifo space can be released for new receive data. ? rres ( r eceiver r eset) command, resetting the hdlc receiver and clearing the receive fifo of any data (e.g. used before start of reception). it has to be used after a change of the message transfer mode. pending interrupt indications of the receiver are not cleared by rres, but have to be cleared by reading these interrupts. note: the significant interrupts and commands are underlined as only these are commonly used during a normal reception sequence. the following description of the receive fifo operation is illustrated in figure 79 for a rfifox block size (threshold) of 16 and 32 bytes. the rfifox requests service from the microcontroller by setting a bit in the istax register, which causes an interrupt (rpf, rme, rfo). the microcontroller then reads status information (rbchx,rbclx), data from the rfifox and then may change the receive fifo block size (exmx.rfbs). a block transfer is completed by the microcontroller via a receive message complete (cmdrx.rmc) command. this causes the space of the transferred bytes being released for new data and in case the frame was complete (rme) the reset of the receive byte counter rbc (rbchx,rbclx) 1) . the total length of the frame is contained in the rbchx and rbclx registers which contain a 12 bit number (rbc11...0), so frames up to 4095 byte length can be counted. 1) if rmc is omitted, then no new interrupt can be generated. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 147 2003-01-30 if a frame is longer than 4095 bytes, the rbch.ov (overflow) bit will be set. the least significant bits of rbclx contain the number of valid bytes in the last data block indicated by rmex (length of last data block  selected block size). table 18 shows which rbc bits contain the number of bytes in the last data block or number of complete data blocks respectively. if the number of bytes in the last data block is ?0? the length of the last received block is equal to the block size. the transfer block size (exmx.rfbs) is 32 bytes for d-channel and 64 bytes for b-channel by default. if it is necessary to react to an incoming frame within the first few bytes the microcontroller can set the rfifox block size to a smaller value. each time a cmdrx.rmc or cmdrx.rres command is issued, the rfifox access controller sets its block size to the value specified in exmr.rfbs, so the microcontroller has to write the new value for rfbs before the rmc command. when setting an initial value for rfbs before the first hdlc activities, a rres command must be issued afterwards. the rfifox can hold any number of frames fitting in the 64 bytes (d-channel)/128 bytes (b-channel). at the end of a frame, the rstax byte is always appended. all generated interrupts are inserted together with all additional information into a wait line to be individually passed to the host. for example if several data blocks have been received to be read by the host and the host acknowledges the current block, a new rpf or rme interrupt from the wait line is immediately generated to indicate new data. table 18 receive byte count with rbc11...0 in the rbchx/rbclx registers exmd1.rfbs bits (d-channel) exmb.rfbs bits (b-channel) selected block size number of complete data blocks in bytes in the last data block in -- ?00? 64 byte rbc11...6 rbc5...0 ?00? ?01? 32 byte rbc11...5 rbc4...0 ?01? ?10? 16 byte rbc11...4 rbc3...0 ?10? ?11? 8 byte rbc11...3 rbc2...0 ?11? -- 4 byte rbc11...2 rbc1...0 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 148 2003-01-30 figure 79 rfifo operation hdlc receiver 32 16 8 4 rpf rfifo p rbc=4h ram hdlc receiver rfifo access controller 32 16 8 4 rfbs=01 ram exmx.rfbs=01 rmc exmx.rfbs=11 so after the first 4 bytes of a new frame have been stored in the fifo an receive pool full interrupt istax.rpf the p has read the 4 bytes, sets rfbs=01 (16 bytes) and completes the block transfer by an cmdrx.rmc command. following cmdrx.rmc the 4 bytes of the last block are deleted. rfacc rfacc is set. rfifo access controller rfbs=11 hdlc receiver 32 16 8 rpf rfifo p rbc=14h ram rsta rsta rsta the hdlc receiver has written further data into the fifo. when a frame is complete, a status byte (rstax) is appended. when the rfacc detects 16 valid bytes, it sets an rpf interrupt. the p reads the 16 bytes hdlc receiver 32 16 8 rme rfifo rbc=16h ram rsta rsta rsta after the rmc acknowledgement the the frame, therefore it asserts an rme interupt and increments the rbc counter by 2. rmc rfacc rfacc meanwhile two more short frames have been received. and acknowledges the transfer by setting cmdrx.rmc. this causes the space occupied by the 16 bytes being released. p rfifo access controller rfbs=01 rfifo access controller rfbs=01 rfacc detects an rsta byte, i.e. end of 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 149 2003-01-30 possible error conditions during reception of frames if parts of a frame get lost because the receive fifo is full, the receive data overflow (rdo) byte in the rstax byte will be set. if a complete frame is lost, i.e. if the fifo is full when a new frame is received, the receiver will assert a receive frame overflow (rfo) interrupt. the microcontroller sees a cyclic buffer, i.e. if it tries to read more data than available, it reads the same data again and again. on the other hand, if it doesn?t read or doesn?t want to read all data, they are deleted anyway after the rmc command. if the microcontroller reads data without a pr ior rme or rpf interrupt, the content of the rfifox would not be corrupted, but new data is only transferred to the host as long as new valid data is available in the rfifox, otherwise the last data is read again and again. the general procedures for a data reception sequence are outlined in the flow diagram in figure 80 . 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 150 2003-01-30 figure 80 data reception procedures xx hdlc_rflow.vsd start receive message end rme ? receive pool full rpf ? read counter rd_count := rfbs or rd_count := rbc read rd_count bytes from rfifo receive message complete write rmc change block size write exmr.rfbs (optional) read rbc rd_count := rbc y y n n * 1) rbc = rbch + rbcl register rfbs: refer to exmr register in case of rme the last byte in rfifo contains the receive status information rsta * 1) 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 151 2003-01-30 figure 81 gives an example of an interrupt controlled reception sequence, supposed that a long frame (68 byte) followed by two short frames (12 byte each) are received. the fifo threshold (block size) is set to 32 byte in this example:  after 32 byte of frame 1 have been received an rpf interrupt is generated to indicate that a data block can be read from the rfifox.  the host reads the first data block from rfifox and acknowledges the reception by rmc. meanwhile the second data block is received and stored in rfifox.  the second 32 byte block is indicated by rpf which is read and acknowledged by the host as described before.  the reception of the remaining 4 bytes plus rstax are indicated by rme (i.e. the receive status is always appended to the end of the frame).  the host gets the number of bytes (count = 5) from rbclx/rbchx and reads out the rfifox and optionally the status register rsta. the frame is acknowledged by rmc.  the second frame is received and indicated by rme interrupt.  the host gets the number of bytes (count = 13) from rbclx/rbchx and reads out the rfifox and optionally the status register. the rfifox is acknowledged by rmc.  the third frame is transferred in the same way. figure 81 reception sequence example fifoseq_rec.vsd * 1) the last byte contains the receive status information rmc rpf rme rpf rmc rme rmc rmc rmc rme iom interface cpu interface receive frame 68 bytes 12 bytes 12 bytes 32 412 12 32 rd count rd 13 bytes * 1) rd count rd 13 bytes * 1) rd count rd 5 bytes * 1) rd 32 bytes rd 32 bytes 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 152 2003-01-30 3.9.2.2 receive frame structure the management of the received hdlc frames as affected by the different operating modes (see chapter 3.9.1 ) is shown in figure 82 . figure 82 receive data flow i 21150_13 addr flag ctrl crc flag address control data status rstax rfifox *1) sap1 sap2 sapg *2) tei1 tei2 teig *2) rah1 rah2 gr.adr. *2) ral1 ral2 gr.adr. *2) d-channel b-channel non auto/16 mode 0 1 1 mds2 mds1 mds0 rfifox ral1 ral2 *2) _ *3) d-channel b-channel non auto/8 0 1 0 tei1 tei2 *2) _ *3) rfifox transparent 0 1 1 0 rfifox 1 1 1 transparent 1 sap1 sap2 sapg *2) rah1 rah2 gr.adr. *2) d-channel b-channel rfifox tei1 tei2 teig *2) ral1 ral2 *2) 1 0 1 d-channel b-channel transparent 2 compared with registers (d- or b-channel) description of symbols: stored in fifo/registers *1) crc optionally stored in rfifox if exmx:rcrc=1 *2) address optionally stored in rfifox if exmx:sra=1 *3) start of the control field in case of an 8 bit address *4) content of rsta register appended at the frameend into rfifox *4) rstax *1) *4) rstax *1) *4) rstax *1) *4) rstax *1) *4) 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 153 2003-01-30 the ipac-x indicates to the host that a new data block can be read from the rfifox by means of an rpf interrupt (see previous chapter). user data is stored in the rfifox and information about the received frame is available in the rbclx and rbchx registers and the rstax bytes which are listed in table 19 . the rstax register is always appended in the rfifox as last byte to the end of a frame. note: the number of bytes received in rfifox depends on the selected receive fifo threshold (exmx.rfbs). table 19 receive information at rme interrupt information register bit mode type of frame (command/ response) rstax c/r non-auto mode, 2-byte address field transparent mode 1 recognition of sapi rstad rstab sa1, 0 ha1, 0 non-auto mode, 2-byte address field transparent mode 1 recognition of tei rstad rstab ta la all except transparent mode 0 result of crc check (correct/incorrect) rstax crc all valid frame rstax vfr all abort condition detected (yes/no) rstax rab all data overflow during reception of a frame (yes/no) rstax rdo all number of bytes received in rfifo rbcl rbc4-0 all message length rbclx rbchx rbc11-0 all rfifo overflow rbchx ov all 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 154 2003-01-30 3.9.3 data transmission 3.9.3.1 structure and control of the transmit fifo the cyclic transmit fifo buffers with a length of 64-byte for d-channel and 128 byte for each of the two b-channels have variable fifo block sizes (thresholds) of  16 or 32 bytes for d-channel and  32 or 64 bytes for b-channels which can be selected by setting the corresponding xfbs bits in the exmx registers. there are three different interrupt indication s in the istax registers concerned with the transmission of data: xpr ( t ransmit p ool r eady) interrupt, indicating that a data block of up to 16 or 32 byte (d-channel), 32 or 64 byte (b-channel) can be written to the xfifox (block size selected via exmx.xfbs). an xpr interrupt is generated either  after an xres (transmitter reset) command (which is issued for example for frame abort) or  when a data block from the xfifox is transmitted and the corresponding fifo space is released to accept further data from the host. ? xdu ( t ransmit d ata u nderrun) interrupt, indicating that the transmission of the current frame has been aborted (seven consecutive ?1?s are transmitted) as the xfifox holds no further transmit data. this occurs if the host fails to respond to an xpr interrupt quickly enough. ? only valid for d-channel: xmr ( t ransmit m essage r epeat) interrupt, indicating that the transmission of the complete last frame has to be repeated as a collision on the s bus has been detected and the xfifox does not hold the first data bytes of the frame (collision after the 16th/ 32nd byte or after the 32nd/64th byte of the frame, respectively). the occurence of an xdu or xmr interrupt clears the xfifox and an xmr interrupt is issued together with an xdu or xmr interrupt, respectively. data cannot be written to the xfifox as long as an xdu/xmr interrupt is pending. three different control commands are used for transmission of data: ? xtf ( t ransmit t ransparent f rame) command, telling the ipac-x that up to 16 or 32 byte (d-channel) or 32 or 64 byte (b-channel) have been written to the xfifox and should be transmitted. a start flag is generated automatically. ? xme ( t ransmit m essage e nd) command, telling the ipac-x that the last data block written to the xfifox completes the corresponding frame and should be transmitted. this implies that according to the selected mode a frame end (crc + closing flag) is generated and appended to the frame. ? xres ( t ransmitter r eset) command, resetting the hdlc transmitter and clearing the transmit fifo of any data. after an xres command the transmitter always sends an abort sequence, i.e. this command can be used to abort a transmission. pending 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 155 2003-01-30 interrupt indications of the transmitter are not cleared by xres, but have to be cleared by reading these interutps. optionally two additional status conditions can be read by the host: ? xdov ( t ransmit d ata o verflow), indicating that the data block size has been exceeded, i.e. more than 16 or 32 byte (d-channel) or 32 or 64 byte (b-channel) were entered and data was overwritten. ? xfw ( t ransmit f ifo w rite enable), indicating that data can be written to the xfifox. this status flag may be polled instead of or in addition to xpr. note: the significant interrupts and commands are underlined as only these are usually used during a normal transmission sequence. the xfifo requests service from the microcontroller by setting a bit in the istax register, which causes an interrupt (xpr, xdu, xmr). the microcontroller can then read the status register starx (xfw, xdov), write data in the fifo and it can change the transmit fifo block size (exmx.xfbs) if required. the instant of the initiation of a transmit pool ready (xpr) interrupt after different transmit control commands is listed in table 20 . when setting xme the transmitter appends the crc and the endflag at the end of the frame. when xtf & xme has been set, the xfifox is locked until successful transmission of the current frame, so a consecutive xpr interrupt also indicates successful transmission of the frame whereas after xme or xtf the xpr interrupt is asserted as soon as there is space for one data block in the xfifox. the transfer block size is 32 bytes (for d-ch annel) or 64 bytes (for b-channel) by default, but sometimes, if the microcontroller has a high computational load, it is useful to increase the maximum reaction time for an xpr interrupt. the maximum reaction time is: t max = (xfifox size - xfbs) / data transmission rate with a selected block size of 16 bytes (d-channel only) an xpr interrupt indicates when a transmit fifo space of at least 16 bytes is available to accept further data, i.e. there table 20 xpr interrupt (availability of xfifox) after xtf, xme commands cmdrx register transmit pool ready (xpr) interrupt initiated ... xtf as soon as the selected buffer size in the fifox is available. xtf & xme after the successful transmission of the closing flag. the transmitter always sends an abort sequence. xme as soon as the selected buffer size in the fifo is available, two consecutive frames share flags. 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 156 2003-01-30 are still a maximum of 48 bytes (64 bytes - 16 bytes) to be transmitted. with a 32 bytes block size (d- or b-channel) the xpr is initiated when a transmit fifo space of at least 32 bytes is available to accept further data, i.e. there are still a maximum of 32 bytes (d- channel: 64 bytes - 32 bytes) or 96 bytes (b-channel: 128 bytes - 32 bytes) to be transmitted. the maximum reaction time for the smaller block size is 50 % higher with the trade-off of a doubled interrupt load. with a selected block size an xpr always indicates the available space in the xfifox, so any number of bytes smaller than the selected xfbs may be stored in the fifo during one ?write block? access cycle. similar to rfbs for the receive fifo, a new setting of xfbs takes effect after the next xtf,xme or xres command. xres resets the xfifox. the xfifox can hold any number of frames fitting in the 64 bytes (d-channel) or 128 bytes (b-channel), respectively. possible error conditions during transmission of frames if the transmitter sees an empty fifo, i.e. if the microcontroller doesn?t react fast enough to an xpr interrupt, an xdu (transmit data underrun) interrupt will be generated. if the hdlc channel becomes unavailable during transmission the transmitter tries to repeat the current frame as specified in the lapd protocol. this is impossible after the first data block has been sent (16 or 32 bytes for d-channel; 32 or 64 byte for b-channel), in this case an xmr transmit message repeat interrupt is set and the microcontroller has to send the whole frame again. both xmr and xdu interrupts cause a reset of the xfifox. the xfifox is locked while an xmr or xdu interrupt is pending, i.e. all write actions of the microcontroller will be ignored as long as the microcontroller hasn? t read the istax register with the set xdu, xmr interrupts. if the microcontroller writes more data than allowed (block size), then the data in the xfifox will be corrupted and the starx.xdov bit is set. if this happens, the microcontroller has to abort the transmission by cmdrx.xres and start new. the general procedures for a data transmission sequence are outlined in the flow diagram in figure 83 . 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 157 2003-01-30 figure 83 data transmission procedure 21150_25 start transmit pool ready xpr ? command xtf+xme write one data block to xfifo n y y n end of message ? end command xtf 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 158 2003-01-30 the following description gives an example for the transmission of a 76 byte frame with a selected block size of 32 byte:  the host writes 32 bytes to the xfifox, issues an xtf command and waits for an xpr interrupt in order to continue with entering data.  the ipac-x immediately issues an xpr interrupt (as remaining xfifox space is not used) and starts transmission.  due to the xpr interrupt the host writes the next 32 bytes to the xfifox, followed by the xtf command, and waits for xpr.  as soon as the last byte of the first block is transmitted, the ipac-x releases an xpr (xfifox space of first data block is free again) and continues transmitting the second block.  the host writes the remaining 12 bytes of the frame to the xfifox and issues the xtf command together with xme to indicate that this is the end of frame.  after the last byte of the frame has been transmitted the ipac-x releases an xpr interrupt and the host may proceed with transmission of a new frame. figure 84 transmission sequence example transmit frame 76 bytes fifoseq_tran.vsd iom interface cpu interface wr 32 bytes xtf 32 12 32 xpr xpr wr 32 bytes xtf wr 12 bytes xtf+xme xpr 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 159 2003-01-30 3.9.3.2 transmit frame structure the transmission of transparent frames (xtf command) is shown in figure 85 . for transparent frames, the whole frame including address and control field must be written to the xfifox. the host configures whether the crc is generated and appended to the frame (default) or not (selected in exmx.xcrc). further, the host selects the interframe time fill signal which is transmitted between hdcl frames (exmx.itf). one option is to send continuous flags (?01111110?), however if d-channel access handling (collision resolution on the s bus) is required, the signal must be set to idle (continuous ?1?s are transmitted). reprogramming of itf takes effect only after the transmission of the current frame has been completed or after an xres command. figure 85 transmit data flow 3.9.4 access to iom-2 channels by setting the enable hdlc data bits (en_d, en_b1h, en_b2h) in the dci_cr register (d-channel) and in the bch_cr register (b-channel) the hdlc controller can access the d, b1 and b2 channels or any combination of them (e.g. 18 bit idsl data 2b+d). in all modes (except extended transparent mode) transmission always works frame aligned, i.e. it starts with the first selected channel, whereas reception searches for a flag anywhere in the serial data stream. 3.9.5 extended transparent mode this non-hdlc mode is selected by setting mode2...0 to ?100?. in extended transparent mode fully transparent data transmission/reception without hdlc framing is performed i.e. without flag generation/recognition, crc generation/check, bitstuffing mechanism. this allows user specific protocol variations. flag fifoflow_tran.vsd transmit transparent frame (xtf) ctrl crc flag i address control data checkram addr * 1) xfifo * 1) the crc is generated by default. if exmr.xcrc is set no crc is appended 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 160 2003-01-30 transmitter the transmitter sends the data out of the fifo without manipulation. transmission is always iom-2 frame aligned and byte aligned, i.e. transmission starts in the first selected channel (b1, b2, d, according to the setting of register dci_cr or bch_cr in the iom-2 handler) of the next iom-2 frame. the fifo indications and commands are the same as in other modes. if the microcontroller sets xtf & xme the transmitter responds with an xpr interrupt after sending the last byte, then it returns to its idle state (sending continuous ?1?). if the collision detection is enabled in d-channel (mode.dim = ?0x1?) the stop go bit (s/ g) can be used as clear to send indication as in any other mode. if the s/g bit is set to ?1? (stop) during transmission the transmitter responds always with an xmr (transmit message repeat) interrupt. if the microcontroller fails to respond to a xpr interrupt in time and the transmitter runs out of data then it will assert an xdu (transmit data underrun) interrupt. receiver the reception is iom-2 frame aligned and byte aligned, like transmission, i.e. reception starts in the first selected channel (b1, b2, d, according to the setting of registers dci_cr and bch_cr in the iom-2 handler) of the next iom-2 frame. the fifo indications and commands are the same as in others modes. all incoming data bytes are stored in the rfifox and is additionally made available in rstax. if the fifo is full an rfo interrupt is asserted (exmx.sra = ?0?). note: in the extended transparent mode the exmx register has to be set to ?xxx00000? 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 161 2003-01-30 3.9.6 hdlc controller interrupts the cause of an interrupt related to the hdlc controllers is indicated in the ista register by the icd bit for d-channel, ica for b-channel a and icb for b-channel b. these bits point to the different interrupt sources of the hdlc controllers in the istad and istab registers. the individual interrupt sources of the hdlc controllers during reception and transmission of data are explained in chapter 3.9.2.1 or chapter 3.9.3.1 , respectively. figure 86 interrupt status registers of the hdlc controllers each interrupt source in the istad and is tab registers can selectively be masked by setting the corresponding bit in maskd/maskb to ?1?. icd mos tran aux cic st icb ica icd mos tran aux cic st icb ica istab xdu xpr rfo rpf rme xdu xpr rfo rpf rme xdu xpr rfo rpf rme xdu xpr rfo rpf rme maskb xdu xmr xpr rfo rpf rme maskd xdu xmr xpr rfo rpf rme istad mask ista 21150_16.vsd interrupt istab maskb b-channel a b-channel b d-channel 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 162 2003-01-30 3.10 test functions the ipac-x provides test and diagnostic functions for the s-interface, the d-channel and each of the two b-channels:  digital loop via tlp (test loop, tmd and tmb registers) command bit ( figure 87 ): the tx path of layer 2 is internally connected with the rx path of layer 2. the output from layer 1 (s/t) on dd is ignored. this is used for testing ipac-x functionality excluding layer 1 (loopback between xfifox and rfifox). figure 87 layer 2 test loops  test of layer-2 functions while disabling all layer-1 functions and pins associated with them (including clocking) via bit tr_conf0.dis_tr. the hdlc controllers can still operate via iom-2. dcl and fsc pins become input. tmx.tlp = ?1? tmx.tlp = ?0? 4 .com u datasheet
ipac-x psb/psf 21150 description of functional blocks data sheet 163 2003-01-30  loop at the analog end of the s interface;  transmission of special test signals on the s/t interface according to the modified ami code are initiated via a c/i command written in cix0 register. te / lt-t mode test loop 3 is activated with the c/i channel command activate request loop (arl). an s interface is not required since info3 is looped back internally to the receiver. when the receiver has synchronized itself to this signal, the message "test indication" (or "awake test indication") is delivered in the c/i channel. no signal is transmitted over the s interface. in the test loop mode the s interface awake detector is enabled, i.e. if a level is detected (e.g. info 2/info 4) this will be reported by the resynchronization indication (rsy). the loop function is not effected by this condition and the internally generated 192-khz line clock does not depend on the signal received at the s interface. nt / lt-s mode test loop 2 is likewise activated over the iom-2 interface with activate request loop (arl). no s line is required. info4 is looped back internally to the receiver and also sent to the s interface. when the receiver is synchronized, the message "aiu" is sent in the c/i channel. in the test loop mode the s interface awake detector is disabled, and echo bits are set to logical "0". two kinds of test signals may be sent by the ipac-x: ? single pulses and ? continuous pulses. the single pulses are of alternating polarity, one s interface bit period wide, 0.25 ms apart, with a repetition frequency of 2 khz. single pulses can be sent in all applications. the corresponding c/i command in te, lt-s and lt-t applications is tm1. continuous pulses are likewise of alternating polarity, one s-interface bit period wide, but they are sent continuously. the repetition frequency is 96 khz. continuous pulses may be transmitted in all applications. this test mode is entered in lt-s, lt-t and te applications with the c/i command tm2. 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 164 2003-01-30 4 detailed register description the register mapping of the ipac-x is shown in figure 88 . figure 88 register mapping of the ipac-x the register address range from 00 h -2f h is assigned to the d-channel hdlc controller and the c/i-channel handler. the register set ranging from 30 h -3f h pertains to the transceiver and auxiliary interface registers. 21150_04 b-channel a b-channel b d- and c/i-channel iom-2 and monitor handler (not used) 80h 00h 40h 30h 70h ffh 90h transceiver, auxiliary interface 60h interrupt, general configuration 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 165 2003-01-30 the address range from 40 h -5b h is assigned to the iom handler with the registers for timeslot and data port selection (tsdp) and the control registers (cr) for the transceiver data (tr), monitor data (mon), hdlc/ci data (hci) and controller access data (cda), serial data strobe signal (sds), iom interface (iom) and synchronous transfer interrupt (sti). the address range from 5c h -5f h pertains to the monitor handler. general interrupt and configuration regist ers are contained in the address range 60 h -65 h . the address range 70 h -8f h is assigned to the two b-channel fifos and hdlc controllers having an identical set of registers. the register summaries of the ipac-x are shown in the following tables containing the abbreviation of the register name and the register bits, the register address, the reset values and the register type (read/write). a detailed register description follows these register summaries. the register summaries and the description are sorted in ascending order of the register address. d-channel hdlc, c/i-channel handler name76543210addrr/wres rfifod d-channel receive fifo 00 h - 1f h r xfifod d-channel transmit fifo 00 h - 1f h w istad rme rpf rfo xpr xmr xdu 0 0 20 h r10 h maskd rme rpf rfo xpr xmr xdu 1 1 20 h wff h stard xdov xfw 0 0 raci 0 xaci 0 21 h r40 h cmdrd rmc rres 0 sti xtf 0 xme xres 21 h w00 h moded mds2 mds1 mds0 0 rac dim2 dim1 dim0 22 h r/w c0 h exmd1 xfbs rfbs sra xcrc rcrc 0 itf 23 h r/w 00 h timr1 cnt value 24 h r/w 00 h sap1 sapi1 0 mha 25 h wfc h 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 166 2003-01-30 sap2 sapi2 0 mla 26 h wfc h rbcld rbc7 rbc0 26 h r00 h rbchd 0 0 0 ov rbc11 rbc8 27 h r00 h tei1 tei1 ea1 27 h wff h tei2 tei2 ea2 28 h wff h rstad vfr rdo crc rab sa1 sa0 c/r ta 28 h r0f h tmd 0000000tlp29 h r/w 00 h reserved 2a-2d h cir0 codr0 cic0 cic1 s/g bas 2e h rf3 h cix0 codx0 tba2 tba1 tba0 bac 2e h wfe h cir1 codr1 cicw ci1e 2f h rfe h cix1 codx1 cicw ci1e 2f h wfe h transceiver, auxiliary interface name76543210 addrr/wres tr_ conf0 dis_ tr bus en_ icv 0 l1sw 0 exlp ldd 30 h r/w 01 h tr_ conf1 0rpll_ adj en_ sfsc 00xx x31 h r/w tr_ conf2 dis_ tx pds 0 rlp 0 0 sgp sgd 32 h r/w 80 h tr_sta rinf slip icv 0 fsyn 0 ld 33 h r00 h tr_cmd xinf dprio tddis pd lp_a 0 34 h r/w 08 h sqrr1 msyn mfen 0 0 sqr11sqr12sqr13sqr14 35 h r40 h sqxr1 0 mfen 0 0 sqx11 sqx12sqx13 sqx14 35 h w4f h 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 167 2003-01-30 sqrr2 sqr21sqr22sqr23sqr24sqr31sqr32sqr33sqr34 36 h r00 h sqxr2 sqx21sqx22sqx23sqx24sqx31 sqx32sqx33 sqx34 36 h w00 h sqrr3 sqr41sqr42sqr43sqr44sqr51sqr52sqr53sqr54 37 h r00 h sqxr3 sqx41sqx42sqx43sqx44sqx51 sqx52sqx53 sqx54 37 h w00 h istatr 0 x x x ld ric sqc sqw 38 h r00 h masktr 1 1 1 1 ld ric sqc sqw 39 h r/w ff h tr_ mode 0 0 0 0 dch_ inh mode 2 mode 1 mode 0 3a h r/w 00 h reserved 3b h acfg1 od7 od6 od5 od4 od3 od2 od1 od0 3c h r/w 00 h acfg2 a7sel a5sel fbs a4sel acl led el1 el0 3d h r/w 00 h aoe oe7 oe6 oe5 oe4 oe3 oe2 oe1 oe0 3e h r/w ff h arx ar7 ar6 ar5 ar4 ar3 ar2 ar1 ar0 3f h r atx at7 at6 at5 at4 at3 at2 at1 at0 3f h w00 h iom handler (timeslot , data port selection, cda data and cda control register) name76543210addrr/wres cda10 controller data access register (ch10) 40h r/wffh cda11 controller data access register (ch11) 41h r/wffh cda20 controller data access register (ch20) 42h r/wffh cda21 controller data access register (ch21) 43h r/wffh cda_ tsdp10 dps 0 0 tss 44h r/w00h transceiver, auxiliary interface name76543210 addrr/wres 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 168 2003-01-30 cda_ tsdp11 dps 0 0 tss 45h r/w01h cda_ tsdp20 dps 0 0 tss 46h r/w80h cda_ tsdp21 dps 0 0 tss 47h r/w81h bcha_ tsdp_ bc1 dps 0 0 tss 48h r/w80h bcha_ tsdp_ bc2 dps 0 0 tss 49h r/w81h bchb_ tsdp_ bc1 dps 0 0 tss 4ah r/w81h bchb_ tsdp_ bc2 dps 0 0 tss 4bh r/w85h tr_ tsdp_ bc1 dps00tss 4chr/w tr_ tsdp_ bc2 dps00tss 4dhr/w cda1_ cr 00en_ tbm en_i1 en_i0 en_o1en_o0swap 4eh r/w00h cda2_ cr 00en_ tbm en_i1 en_i0 en_o1en_o0swap 4fh r/w00h iom handler (control registers, synchronous transfer interrupt control), monitor handler name76543210addrr/wres 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 169 2003-01-30 tr_cr (ci_cs=0) en_ d en_ b2r en_ b1r en_ b2x en_ b1x cs2-0 50 h r/w trc_cr (ci_cs=1) 00000 cs2-0 50 h r/w bcha_ cr dps_ d 0 en_d en_ bc2 en_ bc1 cs2-0 51 h r/w 80 h bchb_ cr dps_ d 0 en_d en_ bc2 en_ bc1 cs2-0 52 h r/w 81 h dci_cr (ci_cs=0) dps_ ci1 en_ ci1 d_ en_d d_ en_b2 d_ en_b1 cs2-0 53 h r/w dcic_cr (ci_cs=1) 00000 cs2-0 53 h r/w 00h mon_cr dps en_ mon 000 cs2-0 54 h r/w sds1_cr ens_ tss ens_ tss+1 ens_ tss+3 tss 55 h r/w 00 h sds2_cr ens_ tss ens_ tss+1 ens_ tss+3 tss 56 h r/w 00 h iom_cr spu dis_ aw ci_cs tic_ dis en_ bcl clkm dis_ od dis_ iom 57 h r/w 08 h sti stov 21 stov 20 stov 11 stov 10 sti 21 sti 20 sti 11 sti 10 58 h r00 h asti 0000ack 21 ack 20 ack 11 ack 10 58 h w00 h msti stov 21 stov 20 stov 11 stov 10 sti 21 sti 20 sti 11 sti 10 59 h r/w ff h sds_ conf 0000diom_ inv diom_ sds sds2_ bcl sds1_ bcl 5a h r/w 00 h mcda mcda21 mcda20 mcda11 mcda10 5b h rff h mor monitor receive data 5c h rff h 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 170 2003-01-30 mox monitor transmit data 5c h wff h mosrmdrmermdamab00005d h r00 h mocrmremrcmiemxc00005e h r/w 00 h msta 00000mac0tout5f h r00 h mconf0000000tout5f h w00 h interrupt, general configuration registers name76543210 addrr/wres ista ica icb st cic aux tran mos icd 60 h r00 h mask ica icb st cic aux tran mos icd 60 h wff h auxi 0 0 eaw wov tin2 tin1 int1 int0 61 h r00 h auxm 1 1 eaw wov tin2 tin1 int1 int0 61 h wff h mode1 0 0 0 wtc1 wtc2 cfs rss2 rss1 62 h r/w 00 h mode20000int_ pol 0 0 ppsdx 63 h r/w 00 h id 0 0 design 64 h r01 h sres res_ ci res_ bcha res_ bchb res_ mon res_ dch res_ iom res_ tr res_ rsto 64 h w00 h timr2 tmd 0 cnt 65 h r/w 00 h reserved 66 h - 6f h b-channel hdlc control registers (channel a / b) name76543210addrr/wres istab rme rpf rfo xpr 0 xdu 0 0 70 h /80 h r10 h 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 171 2003-01-30 maskb rme rpf rfo xpr 1 xdu 1 1 70 h /80 h wff h starb xdov xfw 0 0 raci 0 xaci 0 71 h /81 h r40 h cmdrb rmc rres 0 0 xtf 0 xme xres 71 h /81 h w00 h modeb mds2 mds1 mds0 0 rac 0 0 0 72 h /82 h r/w c0 h exmb xfbs rfbs sra xcrc rcrc 0 itf 73 h /83 h r/w 00 h reserved 74 h /84 h rah1 rah1 0 mha 75 h /85 h w00 h rah2 rah2 0 mla 76 h /86 h w00 h rbclb rbc7 rbc0 76 h /86 h r00 h rbchb 0 0 0 ov rbc11 rbc8 77 h /87 h r00 h ral1 ral1 77 h /87 h w00 h ral2 ral2 78 h /88 h w00 h rstab vfr rdo crc rab ha1 ha0 c/r la 78 h /88 h r0e h tmb 0000000tlp79 h /89 h r/w 00 h rfifob b-channel receive fifo 7a h / 8a h r xfifob b-channel transmit fifo 7a h / 8a h w reserved 7b h - 7f h 8b h - 8f h 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 172 2003-01-30 4.1 d-channel hdlc control and c/i registers 4.1.1 rfifod - receive fifo d-channel a read access to any address within the range 00h-1fh gives access to the ?current? fifo location selected by an internal pointer which is automatically incremented after each read access. this allows for the use of efficient ?move string? type commands by the microcontroller. the rfifod contains up to 32 bytes of received data. after an istad.rpf interrupt, a complete data block is available. the block size can be 4, 8, 16 or 32 bytes depending on the exmd2.rfbs setting. after an istad.rme interrupt, the number of received bytes can be obtained by reading the rbcld register. 4.1.2 xfifod - transmit fifo d-channel a write access to any address within the range 00-1f h gives access to the ?current? fifo location selected by an internal pointer which is automatically incremented after each write access. this allows the use of efficient ?move string? type commands by the microcontroller. depending on exmd2.xfbs up to 16 or 32 bytes of transmit data can be written to the xfifod following an istad.xpr interrupt. 4.1.3 istad - interrupt status register d-channel value after reset: 10 h 70 rfifod receive data rd (00-1f) 70 xfifod transmit data wr (00-1f) 70 istad rme rpf rfo xpr xmr xdu 0 0 rd (20) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 173 2003-01-30 rme ... receive message end one complete frame of length less than or equal to the defined block size (exmd1.rfbs) or the last part of a frame of length greater than the defined block size has been received. the contents are available in the rfifod. the message length and additional information may be obtained from rbchd and rbcld and the rstad register. rpf ... receive pool full a data block of a frame longer than the defined block size (exmd1.rfbs) has been received and is available in the rfifod. the frame is not yet complete. rfo ... receive frame overflow the received data of a frame could not be stored, because the rfifod is occupied. the whole message is lost. this interrupt can be used for statistical purposes and indicates that the microcontroller does not respond quickly enough to an rpf or rme interrupt (istad). xpr ... transmit pool ready a data block of up to the defined block size 16 or 32 (exmd1.xfbs) can be written to the xfifod. an xpr interrupt will be generated in the following cases:  after an xtf or xme command as soon as the 16 or 32 bytes in the xfifo are available and the frame is not yet complete  after an xtf together with an xme command is issued, when the whole frame has been transmitted  after a reset of the transmitter (xres)  after a device reset xmr ... transmit message repeat the transmission of the last frame has to be repeated because a collision on the s bus has been detected after the 16 th /32 nd data byte of a transmit frame. if an xmr interrupt occurs the transmit fifo is locked until the xmr interrupt is read by the host (interrupt cannot be read if masked in maskd). xdu ... transmit data underrun the current transmission of a frame is aborted by transmitting seven ?1?s because the xfifod holds no further data. this interrupt occurs whenever the microcontroller has failed to respond to an xpr interrupt (istad register) quickly enough, after having initiated a transmission and the message to be transmitted is not yet complete. 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 174 2003-01-30 if an xdu interrupt occurs the transmit fifo is locked until the xdu interrupt is read by the host (interrupt cannot be read if masked in maskd). 4.1.4 maskd - mask register d-channel value after reset: ff h each interrupt source in the istad register can selectively be masked by setting the corresponding bit in maskd to ?1?. masked interrupt status bits are not indicated when istad is read. instead, they remain internally stored and pending until the mask bit is reset to ?0?. 4.1.5 stard - status register d-channel value after reset: 40 h xdov ... transmit data overflow more than 16 or 32 bytes (according to selected block size) have been written to the xfifod, i.e. data has been overwritten. xfw ... transmit fifo write enable data can be written to the xfifod. this bit may be polled instead of (or in addition to) using the xpr interrupt. raci ... receiver active indication the d-channel hdlc receiver is active when raci = ?1?. this bit may be polled. the raci bit is set active after a begin flag has been received and is reset after receiving an abort sequence. 70 maskd rme rpf rfo xpr xmr xdu 1 1 wr (20) 70 stard xdov xfw 0 0 raci 0 xaci 0 rd (21) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 175 2003-01-30 xaci ... transmitter active indication the d-channel hdlc-transmitter is active when xaci = ?1?. this bit may be polled. the xaci-bit is active when an xtf-command is issued and the frame has not been completely transmitted 4.1.6 cmdrd - command register d-channel value after reset: 00 h rmc ... receive message complete reaction to rpf (receive pool full) or rme (receive message end) interrupt. by setting this bit, the microcontroller confirms that it has fetched the data, and indicates that the corresponding space in the rfifod may be released. rres ... receiver reset hdlc receiver is reset, the rfifod is cleared of any data. sti ... start timer 1 the ipac-x timer 1 is started when sti is set to one. the timer is stopped by writing to the timr1 register. note: timer 2 is controlled by the timr2 register only. xtf ... transmit transparent frame after having written up to 16 or 32 bytes (exmd1.xfbs) to the xfifod, the microcontroller initiates the transmission of a transparent frame by setting this bit to ?1?. the opening flag is automatically added to the message by the ipac-x (except in the extended transparent mode where no flags are used). xme ... transmit message end by setting this bit to ?1? the microcontroller indicates that the data block written last to the xfifod completes the corresponding frame. the ipac-x terminates the transmission by appending the crc (if exmd1.xcrc=0) and the closing flag sequence to the data (except in the extended transparent mode where no such framing is used). 70 cmdrd rmc rres 0 sti xtf 0 xme xres wr (21) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 176 2003-01-30 xres ... transmitter reset the d-channel hdlc transmitter is reset and the xfifod is cleared of any data. this command can be used by the microcontroller to abort a frame currently in transmission. note: after an xpr interrupt further data has to be written to the xfifod and the appropriate transmit command (xtf) has to be written to the cmdrd register again to continue transmission, when the current frame is not yet complete (see also xpr in istad). during frame transmission, the 0-bit insertion according to the hdlc bit-stuffing mechanism is done automatically. 4.1.7 moded - mode register value after reset: c0 h mds2-0 ... mode select determines the message transfer mode of the hdlc controller, as follows: 70 moded mds2 mds1 mds0 0 rac dim2 dim1 dim0 rd/wr (22) mds2-0 mode number of address bytes address comparison remark 1.byte 2.byte 0 0 0 reserved 0 0 1 reserved 0 1 0 non-auto mode 1 tei1,tei2 ? one-byte address compare. 0 1 1 non-auto mode 2 sap1,sap2,sapg tei1,tei2,teig two-byte address compare. 1 0 0 extended transparent mode 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 177 2003-01-30 note: sap1, sap2: two programmable address values for the first received address byte (in the case of an address field longer than 1 byte); sapg = fixed value fc / fe h . tei1, tei2: two programmable address values for the second (or the only, in the case of a one-byte address) received address byte; teig = fixed value ff h two different methods of the high byte and/or low byte address comparison can be selected by setting sap1.mha and/or sap2.mla. rac ... receiver active the d-channel hdlc receiver is activated when this bit is set to ?1?. if set to ?0? the hdlc data is not evaluated in the receiver. dim2-0 ... digital interface modes these bits define the characteristics of the iom data ports (du, dd). the dim0 bit enables/disables the collission detection. the dim1 bit enables/disables the tic bus access. the effect of the individual dim bits is summarized in the table below . 1 1 0 transparent mode 0 ?? ? no address compare. all frames accepted. 1 1 1 transparent mode 1 > 1 sap1,sap2,sapg ? high-byte address compare. 1 0 1 transparent mode 2 > 1 ? tei1,tei2,teig low-byte address compare. mds2-0 mode number of address bytes address comparison remark 1.byte 2.byte 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 178 2003-01-30 4.1.8 exmd1- extended mode register d-channel 1 value after reset: 00 h xfbs ? transmit fifo block size 0 ? block size for the transmit fifo data is 32 byte 1 ? block size for the transmit fifo data is 16 byte note: a change of xfbs will take effect after a receiver command (cmdrd.xme, cmdrd.xres, cmdrd.xtf) has been written. rfbs ? receive fifo block size note: a change of rfbs will take effect after a transmitter command (cmdr.rmc, cmdr.rres,) has been written sra ? store receive address 0 ? receive address isn?t stored in the rfifod 1 ? receive address is stored in the rfifod dim2 dim1 dim0 characteristics 0 0 transparent d-channel, the collission detection is disabled 0 1 stop/go bit evaluated for d-channel access handling 0 0 last octet of iom channel 2 used for tic bus access 0 1 tic bus access is disabled 1 xxreserved 70 exmd1 xfbs rfbs sra xcrc rcrc 0 itf rd/wr (23) rfbs block size receive fifo bit 6 bit5 0 0 32 byte 0 1 16 byte 1 0 8 byte 1 1 4 byte 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 179 2003-01-30 xcrc ? transmit crc 0 ? crc is transmitted 1 ? crc isn?t transmitted rcrc? receive crc 0 ? crc isn?t stored in the rfifod 1 ? crc is stored in the rfifod itf? interframe time fill selects the inter-frame time fill signal which is transmitted between hdlc-frames. 0 ? idle (continuous ?1?) 1 ? flags (sequence of patterns: ?0111 1110?) note: itf must be set to ?0? for power down mode. in applications with d-channel access handling (collision resolution), the only possible inter-frame time fill is idle (continuous ?1?) . otherwise the d-channel on the s/t-bus cannot be accessed 4.1.9 timr1 - timer 1 register value after reset: 00 h cnt ... timer counter cnt together with value determines the time period t after which a auxi.tin1 interrupt will be generated: cnt=0...6:t = cnt x 2.048 sec + t1 with t1 = ( value+1 ) x 0.064 sec cnt=7:t = t1 = ( value+1 ) x 0.064 sec (generated periodically) the timer can be started by setting the sti-bit in cmdrd and will be stopped when a tin1 interrupt is generated or the timr1 register is written. note: if cnt is set to 7, a tin interrupt is indefinitely generated after every expiration of t1 (i.e. t = t1). value ... timer value determines the value of the timer value t1 = ( value + 1 ) x 0.064 sec . 754 0 timr1 cnt value rd/wr (24) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 180 2003-01-30 4.1.10 sap1 - sapi1 register value after reset: fc h sapi1 ... sapi1 value value of the first programmable service access point identifier (sapi) according to the isdn lapd protocol. mha... mask high address 0 ? the sapi address of an incomming frame is compared with sap1, sap2, sapg. 1 ? the sapi address of an incomming frame is compared with sap1 and sapg. sap1 can be masked with sap2 thereby bit positions of sap1 are not compared if they are set to ?1? in sap2. 4.1.11 sap2 - sapi2 register value after reset: fc h sapi2 ... sapi2 value value of the second programmable service access point identifier (sapi) according to the isdn lapd-protocol. mla... mask low address 0 ? the tei address of an incomming frame is compared with tei1, tei2 and teig. 1 ? the tei address of an incomming frame is compared with tei1 and teig. tei1 can be masked with tei2 thereby bit positions of tei1 are not compared if they are set to ?1? in tei2. 70 sap1 sapi1 0 mha wr (25) 70 sap2 sapi2 0 mla wr (26) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 181 2003-01-30 4.1.12 rbcld - receive frame byte count low d-channel value after reset: 00 h rbc7-0 ... receive byte count eight least significant bits of the total number of bytes in a received message (see rbchd register). 4.1.13 rbchd - receive frame byte count high d-channel value after reset: 00 h . ov ... overflow a ?1? in this bit position indicates a message longer than (2 12 - 1) = 4095 bytes . rbc8-11 ... receive byte count four most significant bits of the total number of bytes in a received message (see rbcld register). note: normally rbchd and rbcld should be read by the microcontroller after an rme-interrupt in order to determine the number of bytes to be read from the rfifod, and the total message length. the contents of the registers are valid only after an rme or rpf interrupt, and remain so until the frame is acknowledged via the rmc bit or rres. 4.1.14 tei1 - tei1 register 1 value after reset: ff h 70 rbcld rbc7 rbc0 rd (26) 70 rbchd 0 0 0 ov rbc11 rbc8 rd (27) 70 tei1 tei1 ea1 wr (27) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 182 2003-01-30 tei1 ... terminal endpoint identifier in all message transfer modes except in transparent modes 0, 1 and extended transparent mode, tei1 is used by the ipac-x for address recognition. in the case of a two-byte address field, it contains the value of the first programmable terminal endpoint identifier according to the isdn lapd-protocol. in non-automodes with one-byte address field, tei1 is a command address, according to x.25 lapb. ea1 ... address field extension bit this bit is set to ?1? according to hdlc/lapd. 4.1.15 tei2 - tei2 register value after reset: ff h tei2 ... terminal endpoint identifier in all message transfer modes except in transparent modes 0, 1 and extended transparent mode, tei2 is used by the ipac-x for address recognition. in the case of a two-byte address field, it contains the value of the second programmable terminal endpoint identifier according of the isdn lapd-protocol. in non-auto-modes with one-byte address field, tei2 is a response address, according to x.25 lapd. ea2 ... address field extension bit this bit is to be set to ?1? according to hdlc/lapd. 4.1.16 rstad - receive status register d-channel value after reset: 0f h for general information please refer to chapter 3.9 . 70 tei2 tei2 ea2 wr (28) 70 rstad vfr rdo crc rab sa1 sa0 c/r ta rd (28) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 183 2003-01-30 vfr... valid frame determines whether a valid frame has been received. the frame is valid (1) or invalid (0). a frame is invalid when there is not a multiple of 8 bits between flag and frame end (flag, abort). rdo ... receive data overflow if rdo=1, at least one byte of the frame has been lost, because it could not be stored in rfifod. as opposed to the istad.rfo an rdo indicates that the beginning of a frame has been received but not all bytes could be stored as the rfifod was temporarily full. crc ... crc check the crc is correct (1) or incorrect (0). rab ... receive message aborted the receive message was aborted by the remote station (1), i.e. a sequence of seven 1?s was detected before a closing flag. sa1-0 ... sapi address identification ta ... tei address identification sa1-0 are significant in non-automode with a two-byte address field, as well as in transparent mode 3. ta is significant in all modes except in transparent modes 0 and 1. two programmable sapi values (sap1, sap2) plus a fixed group sapi (sapg of value fc h /fe h ), and two programmable tei values (tei1, tei2) plus a fixed group tei (teig of value ff h ), are available for address comparison. the result of the address comparison is given by sa1-0 and ta, as follows: 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 184 2003-01-30 note: if sap1 and sap2 contain identical values, the combination sap1,2-teig will only be indicated by sa1,0 = ?10? (i.e. the value ?00? will not occur in this case). c/r ... command/response the c/r bit contains the c/r bit of the received frame (bit1 in the sapi address) note: the contents of rstad corresponds to the last received hdlc frame; it is duplicated into rfifod for every frame (last byte of frame) 4.1.17 tmd -test mode register d-channel value after reset: 00 h for general information please refer to chapter 3.10 . address match with mds2-0 sa1 sa0 ta 1 st byte 2 nd byte 010 (non-auto/8 mode) x x x x 0 1 tei2 tei1 - - 011 (non-auto/16 mode) 0 0 0 0 1 1 0 0 1 1 0 0 0 1 0 1 0 1 sap2 sap2 sapg sapg sap1 sap1 teig tei2 teig tei1 or tei2 teig tei1 111 (transparent mode1) 0 0 1 0 1 0 x x x sap2 sapg sap1 - - - 101 (transparent mode 2) - - - - 0 1 - - teig tei1 or tei2 1 1 x reserved 70 tmd 0000000tlprd/wr (29) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 185 2003-01-30 tlp ... test loop the tx path of layer-2 is internally connected with the rx path of layer-2. data coming from the layer 1 controller will not be forwarded to the layer 2 controller. the setting of tlp is only valid if the iom interface is active. 4.1.18 cir0 - command/indication receive 0 value after reset: f3 h codr0 ... c/i code 0 receive value of the received command/indication code. a c/i-code is loaded in codr0 only after being the same in two consecutive iom-frames and the previous code has been read from cir0. cic0 ... c/i code 0 change a change in the received command/indication code has been recognized. this bit is set only when a new code is detected in two consecutive iom-frames. it is reset by a read of cir0. cic1 ... c/i code 1 change a change in the received command/indication code in iom-channel 1 has been recognized. this bit is set when a new code is detected in one iom-frame. it is reset by a read of cir0. s/g ... stop/go bit monitoring indicates the availability of the upstream d-channel on the s/t interface. 1: stop 0: go bas ... bus access status indicates the state of the tic-bus: 0: the ipac-x itself occupies the d- and c/i-channel 1: another device occupies the d- and c/i-channel note: the codr0 bits are updated every time a new c/i-code is detected in two consecutive iom-frames. if several consecutive valid new codes are detected and 70 cir0 codr0 cic0 cic1 s/g bas rd (2e) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 186 2003-01-30 cir0 is not read, only the first and the last c/i code is made available in cir0 at the first and second read of that register, respectively. 4.1.19 cix0 - command/indication transmit 0 value after reset: fe h codx0 ... c/i-code 0 transmit code to be transmitted in the c/i-channel 0. the code is only transmitted if the tic bus is occupied. if tic bus is enabled but occupied by another device, only ?1s? are transmitted. tba2-0 ... tic bus address defines the individual address for the ipac-x on the iom bus.this address is used to access the c/i- and d-channel on the iom interface. note: if only one device is liable to transmit in the c/i- and d-channels of the iom it should always be given the address value ?7?. bac ... bus access control only valid if the tic-bus feature is enabled (moded.dim2-0). if this bit is set, the ipac-x will try to access the tic-bus to occupy the c/i-channel even if no d-channel frame has to be transmitted. it should be reset when the access has been completed to grant a similar access to other devices transmitting in that iom-channel. note: access is always granted by default to the ipac-x with tic-bus address (tba2-0, stcr register) ?7?, which has the lowest priority in a bus configuration. 4.1.20 cir1 - command/indication receive 1 value after reset: fe h 70 cix0 codx0 tba2 tba1 tba0 bac wr (2e) 70 cir1 codr1 cicw ci1e rd (2f) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 187 2003-01-30 codr1 ... c/i-code 1 receive cicw, ci1e ... c/i-channel width, c/i-channel 1 interrupt enable these two bits contain the read back values from cix1 register (see below). 4.1.21 cix1 - command/indication transmit 1 value after reset: fe h codx1 ... c/i-code 1 transmit bits 7-2 of c/i-channel 1. cicw... c/i-channel width cicw selects between a 4 bit (?0?) and 6 bit (?1?) c/i1 channel width. the c/i1 handler always reads and writes 6-bit values but if 4-bit is selected, the higher two bits are ignored for interrupt generation. however in write direction the full codx1 code is transmitted, i.e. the host must write the higher two bits to ?1?. ci1e ... c/i-channel 1 interrupt enable interrupt generation ista.cic of cir0.cic1 is enabled (1) or masked (0). 70 cix1 codx1 cicw ci1e wr (2f) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 188 2003-01-30 4.2 transceiver registers 4.2.1 tr_conf0 - transceiver configuration register 0 value after reset: 01 h dis_tr ... disable transceiver setting dis_tr to ?1? disables the transceiver. in order to reenable the transceiver again, a transceiver reset must be issued (sres.res_tr=1). the transceiver must not be reenabled by setting dis_tr from ?1? to ?0?. for general information please refer to chapter 3.3.10 . bus ... point-to-point / bus selection (nt / int. nt / lt-s mode only) 0: adaptive timing (point-t-point, extended passive bus). 1: fixed timing (short passive bus). en_icv ... enable illegal code violation 0:normal operation 1:icv enabled. the receipt of at least one illegal code violation within one multi-frame is indicated by the c/i indication ?1011? (cvr) in two consecutive iom frames. l1sw ... enable layer 1 state machine in software 0:layer 1 state machine of the ipac-x is used 1:layer 1 state machine is disabled. the functionality can be realized in software. the commands can be written to register tr_cmd and the status can be read from tr_sta. for general information please refer to chapter 3.5 . exlp ... external loop in case the analog loopback is activated with c/i = arl or with the lp_a bit in the tr_cmd register the loop is a 0: internal loop next to the line pins 1: external loop which has to be closed between sr1/2 and sx1/sx2 70 tr_ conf0 dis_ tr bus en_ icv 0 l1sw 0 exlp ldd rd/wr (30) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 189 2003-01-30 note: the external loop is only useful if bit dis_tx of register tr_conf2 is set to ?0?. for general information please refer to chapter 3.3.11 . ldd ... level detection discard 0: automatic clock generation after detection of any signal on the line in power down state 1: no clock generation after detection of any signal on the line in power down state note: if an interrupt by the level detect circuitry is generated, the microcontroller has to set this bit to ?0? for an activation of the s/t interface. for general information please refer to chapter 3.3.9 and chapter 3.7.6 . 4.2.2 tr_conf1 - transceiver configuration register 1 value after reset: 0x h rpll_adj ... receive pll adjustment 0: dpll tracking step is 0.5 xtal period per s-frame 1: dpll tracking step is 1 xtal period per s-frame en_sfsc ... enable short fsc 0: no short fsc is generated 1: a short fsc is generated once per multi-frame (every 40th iom frame) x ... undefined the value of these bits depends on the selected mode. it is important to note that these bits must not be overwritten to a different value when accessing this register. 70 tr_ conf1 0rpll_ adj en_ sfsc 00xxxrd/wr (31) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 190 2003-01-30 4.2.3 tr_conf2 - transmitter configuration register 2 value after reset: 80 h dis_tx ... disable line driver 0: transmitter is enabled 1: transmitter is disabled for general information please refer to chapter 3.3.10 . pds ... phase deviation select defines the phase deviation of the s-transmitter. 0: the phase deviation is 2 s-bits minus 7 oscillator periods plus analog delay plus delay of the external circuitry. 1: the phase deviation is 2 s-bits minus 9 oscillator periods plus analog delay plus delay of the external circuitry. for general information please refer to chapter 3.3.8 . rlp ... remote line loop 0: remote line loop open 1: remote line loop closed for general information please refer to chapter 3.3.11 . sgp ... stop/go bit polarity defines the polarity of the s/g bit output on pin sgo. 0: low active (sgo=0 means ?go?; sgo=1 means ?stop?) 1: high active (sgo=1 means ?go?; sgo=0 means ?stop?) sgd ... stop/go bit duration defines the duration of the s/g bit output on pin sgo. 0: active during the d-channel timeslot 1: active during the whole corresponding iom frame (starts and ends with the beginning of the d-channel timeslot) 70 tr_ conf2 dis_ tx pds 0 rlp 0 0 sgp sgd rd/wr (32) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 191 2003-01-30 outside the active window of sgo (defined in sgd) the level on pin sgo remains in the ?stop?-state depending on the selected polarity (sgp), i.e. sgo=1 (if sgp=0) or sgo=0 (if sgp=1) outside the active window. 4.2.4 tr_sta - transceiver status register value after reset: 00 h important: this register is used only if the layer 1 state machine of the ipac-x is disabled (tr_conf0.l1sw = 1) and implemented in software! with the ipac layer 1 state machine enabled, the signals from this register are automatically evaluated. for general information please refer to chapter 3.5 . rinf ... receiver info 00: received info 0 01: received any signal except info 0,2,3,4 10: reserved (nt mode) or info 2 (te mode) 11: received info 3 (nt mode) or info 4 (te mode) slip ... slip detected a ?1? in this bit position indicates that a slip is detected in the receive or transmit path. icv ... illegal code violation 0:no illegal code violation is detected 1:illegal code violation (ansi t1.605) in data stream is detected fsyn ... frame synchronization state 0: the s/t receiver is not synchronized 1: the s/t receiver has synchronized to the framing bit f ld ... level detection 0:no receive signal has been detected on the line. 1:any receive signal has been detected on the line. 70 tr_ sta rinf slip icv 0 fsyn 0 ld rd (33) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 192 2003-01-30 4.2.5 tr_cmd - transceiver command register value after reset: 08 h important: this register is only writable if the layer 1 state machine of the ipac-x is disabled (tr_conf0.l1sw = 1)! with the ipac layer 1 state machine enabled, the signals from this register are automatically generated but nevertheless this register can always be read. dprio can also be written in intelligent nt mode. xinf ... transmit info 000: transmit info 0 001: reserved 010: transmit info 1 (te mode) or info 2 (nt mode) 011: transmit info 3 (te mode) or info 4 (nt mode) 100: send continous pulses at 192 kbit/s alternating or 96 khz rectangular, respectively (scp) 101: send single pulses at 4 kbit/s with alternating polarity corresponding to 2 khz fundamental mode (ssp) 11x: reserved dprio ... d-channel priority (always writable in int. nt mode) 0: priority class 1for d channel access on iom (int. nt) or on s interface (te/lt-t) 1: priority class 2 for d channel access on iom (int. nt) or on s interface (te/lt-t) tddis ... transmit data disabled (te mode) 0: the b and d channel data are transparently transmitted on the s/t interface if info 3 is being transmitted 1: the b and d channel data are set to logical ?1? on the s/t interface if info 3 is being transmitted pd ... power down 0: the transceiver is set to operational mode 1: the transceiver is set to power down mode for general information please refer to chapter 3.5.1.2 . 70 tr_ cmd xinf dprio tddis pd lp_a 0 rd/wr (34) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 193 2003-01-30 lp_a ... loop analog the setting of this bit corresponds to the c/i command arl. 0: analog loop is open 1: analog loop is closed internally or externally according to the exlp bit in the tr_conf0 register for general information please refer to chapter 3.3.11 . 4.2.6 sqrr1 - s/q-channel receive register 1 value after reset: 40 h for general information please refer to chapter 3.3.2 . msyn ... multi-frame synchronization state 0: the s/t receiver has not synchronized to the received f a and m bits 1: the s/t receiver has synchronized to the received f a and m bits mfen ... multiframe enable read-back of the mfen bit of the sqxr register sqr11-14 ... received s bits received s bits in frames 1, 6, 11 and 16 (te mode) received q bits in frames 1, 6, 11 and 16 (nt mode). 70 sqrr msyn mfen 0 0 sqr1 sqr2 sqr3 sqr4 rd (35) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 194 2003-01-30 4.2.7 sqxr1- s/q-channel tx register 1 value after reset: 4f h mfen ... multiframe enable used to enable or disable the multiframe structure (see chapter 3.3.2 ) 0: s/t multiframe is disabled 1: s/t multiframe is enabled readback value in sqrr1. sqx1-4 ... transmitted s/q bits transmitted q bits (f a bit position) in frames 1, 6, 11 and 16 (te mode), transmitted s bits (f a bit position) in frames 1, 6, 11 and 16 (nt mode). 4.2.8 sqrr2 - s/q-channel receive register 2 value after reset: 00 h sqr21-24, sqr31-34... received s bits (te mode only) received s bits in frames 2, 7, 12 and 17 (sqr21-24, subchannel 2), and in frames 3, 8, 13 and 18 (sqr31-34, subchannel 3). 70 sqxr1 0 mfen 0 0 sqx1 sqx2 sqx3 sqx4 wr (35) 70 sqrr2 sqr21 sqr22 sqr23 sqr24 sqr31 sqr32 sqr33 sqr34 rd (36) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 195 2003-01-30 4.2.9 sqxr2 - s/q-channel tx register 2 value after reset: 00 h sqx21-24, sqx31-34... transmitted s bits (nt mode only) transmitted s bits in frames 2, 7, 12 and 17 (sqx21-24, subchannel 2), and in frames 3, 8, 13 and 18 (sqx31-34, subchannel 3). 4.2.10 sqrr3 - s/q-channel receive register 3 value after reset: 00 h sqr41-44, sqr51-54... received s bits (te mode only) received s bits in frames 4, 9, 14 and 19 (sqr41-44, subchannel 4), and in frames 5, 10, 15 and 20 (sqr51-54, subchannel 5). 4.2.11 sqxr3 - s/q-channel tx register 3 value after reset: 00 h sqx41-44, sqx51-54... transmitted s bits (nt mode only) transmitted s bits in frames 4, 9, 14 and 19 (sqx41-44, subchannel 4), and in frames 5, 10, 15 and 20 (sqx51-54, subchannel 5). 70 sqxr2 sqx21 sqx22 sqx23 sqx24 sqx31 sqx32 sqx33 sqx34 wr (36) 70 sqrr3 sqr41 sqr42 sqr43 sqr44 sqr51 sqr52 sqr53 sqr54 rd (37) 70 sqxr3 sqx41 sqx42 sqx43 sqx44 sqx51 sqx52 sqx53 sqx54 wr (37) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 196 2003-01-30 4.2.12 istatr - interrupt status register transceiver value after reset: 00 h for all interrupts in the istatr register the following logical states are defined: 0: interrupt is not acitvated 1: interrupt is acitvated x ... reserved bits set to ?1? in this bit position must be ignored. ld ... level detection any receive signal has been detected on the line. this bit is set to ?1? (i.e. an interrupt is generated if not masked) as long as any receiver signal is detected on the line. ric ... receiver info change ric is activated if one of the tr_sta bits rinf or icv has changed. this bit is reset by reading the tr_sta register. sqc ... s/q-channel change a change in the received s-channel (te) or q-channel (nt) has been detected. the new code can be read from the sqrxx bits of registers sqrr1-3 within the next multiframe (5 ms). this bit is reset by a read access to the corresponding sqrrx register. sqw ... s/q-channel writable the s/q channel data for the next multiframe is writable. the register for the q (s) bits to be transmitted (received) has to be written (read) within the next multiframe (5 ms). this bit is reset by writing register sqxrx. 70 istatr x x x x ld ric sqc sqw rd (38) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 197 2003-01-30 4.2.13 masktr - mask transceiver interrupt value after reset: ff h the transceiver interrupts ld, ric, sqc and sqw are enabled (0) or disabled (1). 4.2.14 tr_mode - transceiver mode register 1 value after reset: 000000xx b for general information please refer also to chapter 3.7.5.4 . dch_inh ... d-channel inhibit (nt, lt-s and int. nt modes only) setting this bit to ?1? has the effect that the s-transceiver blocks the access to the d- channel on s by inverting the e-bits. mode2-0 ... transceiver mode 000: te mode 001: lt-t mode 010: nt mode (without d-channel handler) 011: lt-s mode (without d-channel handler) 110: intelligent nt mode (with nt state machine and with d-channel handler) 111: intelligent nt mode (with lt-s state machine and with d-channel handler) 100: reserved 101: reserved note: the three modes te, lt-t and lt-s can be selected by pin strapping (reset values for bits tr_mode.mode0,1 loaded from pins mode0,1), all other modes are programmable only. 70 masktr 1 1 1 1 ld ric sqc sqw rd/wr (39) 70 tr_ mode 0000dch_ inh mode 2 mode 1 mode 0 rd/wr (3a) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 198 2003-01-30 4.3 auxiliary interface registers 4.3.1 acfg1 - auxiliary configuration register 1 value after reset: 00 h for general information please refer to chapter 3.8.1 . od7-0 ... output driver select for aux7 - aux0 0: output is open drain 1: output is push/pull note: the odx configuration is only valid if the corresponding output is enabled in the aoe register. aux0-2 are only available in te and int. nt mode and not in all other modes (used as channel select). aux7 and aux6 provide internal pull up resistors which are only available as inputs and in output/open drain mode, but disabled in output / push/pull mode. 4.3.2 acfg2 - auxiliary configuration register 2 value after reset: 00 h a7sel ... aux7 function select 0: pin aux7 provides normal i/o functionality. 1: pin aux7 provides the s/g bit output (sgo) from the iom dd-line. bit aoe.oe7 is don?t care, the output characteristic (push pull or open drain) can be selected via acfg1.od7. a5sel ... aux5 function select 0: pin aux5 provides normal i/o functionality. 70 acfg1 od7 od6 od5 od4 od3 od2 od1 od0 rd/wr (3c) 70 acfg2 a7sel a5sel fbs a4sel acl led el1 el0 rd/wr (3d) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 199 2003-01-30 1: pin aux5 provides an fsc or bcl signal output (fbout) which is selected in acfg2.fbs. bit aoe.oe5 is don?t care, the output characteristic (push pull or open drain) can be selected via acfg1.od5. for general information please refer to chapter 3.4 . fbs ... fsc/bcl output select 0: fsc is output on pin aux5. 1: bcl (single bit clock) is output on pin aux5. note: this selection has only effect on pin aux5 if fbout is enabled (a5sel=1). in lt-t mode pin sclk provides an 1.536 mhz output clock which can be used as dcl input. this is necessary for bcl generation. for general information please refer to chapter 3.4 . a4sel ... aux4 function select 0: pin aux4 provides normal i/o functionality. 1: pin aux4 supports multiframe synchronization and is used as m-bit input in int. nt/ nt/lt-s modes or as m-bit output in te/lt-t modes (input/output is automatically selected with the mode). bit aoe.oe4 is don?t care, the output characteristic (push pull or open drain) can be selected via acfg1.od4. for general information please refer to chapter 3.3.3 . acl ... acl function select 0: pin acl automatically indicates the s-bus activation status by a low level. 1: the output state of acl is programmable by the host in bit led. note: an led with preresistance may directly be connected to acl . led ... led control if enabled (acl =1) the led with preresistance connected between vdd and acl is switched ... 0: off (high level on pin acl ) 1: on (low level on pin acl ) el0, 1 ... edge/level triggered interrupt input for int0 , int1 0: a negative level ... 1: a negative edge ... on int0/1 (pins aux6/7) generates an interrupt to the ipac-x. 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 200 2003-01-30 note: an interrupt is only generated if the corresponding mask bit in auxm is reset. this configuration is only valid if the corresponding output enable bit in aoe is disabled. for general information please refer to chapter 3.8.1 . 4.3.3 aoe - auxiliary output enable register value after reset: ff h for general information please refer to chapter 3.8.1 . oe7-0 ... output enable for aux7 - aux0 0: pin aux7-0 is configured as output. the value of the corresponding bit in the atx register is driven on aux7-0. 1: pin aux7-0 is configured as input. the value of the corresponding bit can be read from the arx register. note: in nt and lt modes the pins aux0-2 are not available as i/o pins. if pins aux7, aux6 are to be used as interrupt input, oe7, oe6 must be set to 1. if pins aux7, aux5 and aux4 are not used as i/o pins (see acfg2), the corresponding oex bit cannot be set, but delivers the mode dependent direction (input/output) in that function upon a read access. if the secondary function is disabled, the direction of the pin as i/o pin is valid again. 70 aoe oe7 oe6 oe5 oe4 oe3 oe2 oe1 oe0 rd/wr (3e) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 201 2003-01-30 4.3.4 arx - auxiliary interface receive register value after reset: (not defined) ar7-0 ... auxiliary receive the value of ar7-0 always reflects the level at pin aux7-0 at the time when arx is read by the host even if a pin is configured as output. if the mask bit for aux7, 6 is set in the maska register, no interrupt is generated to the ipac-x, however, the current state at pin aux7,6 can be read from ar7,6 note: in nt and lt modes the pins aux0-2 are not available as i/o pins. 4.3.5 atx - auxiliary interface transmit register value after reset: 00 h at7-0 ... auxiliary transmit a ?0? or ?1? in at7-0 will drive a low or a high level at pin aux7-0 if the corresponding output is enabled in the aoe register. note: in nt and lt modes the pins aux0-2 are not available as i/o pins. 70 arx ar7 ar6 ar5 ar4 ar3 ar2 ar1 ar0 rd (3f) 70 atx at7 at6 at5 at4 at3 at2 at1 at0 wr (3f) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 202 2003-01-30 4.4 iom-2 and monitor handler 4.4.1 cdaxy - controller data access register xy data registers cdaxy which can be accessed from the controller. 70 cdaxy controller data access register rd/wr (40-43) register register address value after reset cda10 40 h ff h cda11 41 h ff h cda20 42 h ff h cda21 43 h ff h 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 203 2003-01-30 4.4.2 xxx_tsdpxy - time slot and data port selection for chxy this register determines the time slots and the data ports on the iom-2 interface for the data channels ?xy? of the functional units ?xxx? which are controller data access (cda), b-channel controllers (bcha, bchb) and transceiver (tr). each of the two b-channel controllers (bcha, bchb) can access any combination of two 8-bit timeslots and one 2-bit timeslot (e.g. 16-bit access to b1+b2 or 18-bit idsl in 2b+d). the position of the two 8-bit time slots is programmed in bchx_tsdp_bc1 and bchx_tsdp_bc2. the position of the 2-bit timeslot is programmed in bcha_cr and bchb_cr. in the same registers each of the three timeslots is enabled/disabled. the position of b-channel data from the s-interface is programmed in tr_tsdp_bc1 and tr_tsdp_bc2. note: the reset values for tr_tsdp_bc1/2 are depending on the mode selection (mode0/1) and channel selection (ch0-2). 70 xxx_ tsdpxy dps 0 0 tss rd/wr (44-4d) register register address value after reset cda_tsdp10 44 h 00 h ( = output on b1-dd) cda_tsdp11 45 h 01 h ( = output on b2-dd) cda_tsdp20 46 h 80 h ( = output on b1-du) cda_tsdp21 47 h 81 h ( = output on b2-du) bcha_tsdp_bc1 48 h 80 h ( = output on b1-du) bcha_tsdp_bc2 49 h 81 h ( = output on b2-du) bchb_tsdp_bc1 4a h 81 h ( = output on b2-du) bchb_tsdp_bc2 4b h 85 h ( = output on ic2-du) tr_tsdp_bc1 4c h 00 h ( = transceiver output on b1-dd), see note tr_tsdp_bc2 4d h 01 h ( = transceiver output on b2-dd), see note 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 204 2003-01-30 dps ... data port selection 0: the data channel xy of the functional unit xxx is output on dd. the data channel xy of the functional unit xxx is input from du. 1: the data channel xy of the functional unit xxx is output on du. the data channel xy of the functional unit xxx is input from dd. note: for the cda (controller data access) data the input is determined by the cda_crx.swap bit. if swap = ?0? the input for the cdaxy data is vice versa to the output setting for cdaxy. if the swap = ?1? the input from cdax0 is vice versa to the output setting of cdax1 and the input from cdax1 is vice versa to the output setting of cdax0. see controller data access description in chapter 3.7.1.1 tss ... timeslot selection selects one of 32 timeslots (0...31) on the iom-2 interface for the data channels. note: the tss reset values for tr_tsdp_bc1/2 are determined by the channel select pins ch2-0 which are mapped to the corresponding bits tss4-2. 4.4.3 cdax_cr - control register controller data access ch1x for general information please refer to chapter 3.7.1.1 . en_tbm ... enable tic bus monitoring 0: the tic bus monitoring is disabled 1: the tic bus monitoring with the cdax0 r egister is enabled. the tsdpx0 register must be set to 08 h for monitoring from du or 88 h for monitoring from dd, respectively. (this selection is only valid if iom_cr.tic_dis = 0). 70 cdax_ cr 00en_ tbm en_i1 en_i0 en_o1 en_o0 swap rd/wr (4e-4f) register register address value after reset cda1_cr 4e h 00 h cda2_cr 4f h 00 h 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 205 2003-01-30 en_i1, en_i0 ... enable input cdax0, cdax1 0: the input of the cdax0, cdax1 register is disabled 1: the input of the cdax0, cdax1 register is enabled en_o1, en_o0 ... enable output cdax0, cdax1 0: the output of the cdax0, cdax1 register is disabled 1: the output of the cdax0, cdax1 register is enabled swap ... swap inputs 0: the time slot and data port for the input of the cdaxy register is defined by its own tsdpxy register. the data port for the cdaxy input is vice versa to the output setting for cdaxy. 1: the input (time slot and data port) of the cdax0 is defined by the tsdp register of cdax1 and the input of cdax1 is defined by the tsdp register of cdax0. the data port for the cdax0 input is vice versa to the output setting for cdax1. the data port for the cdax1 input is vice versa to the output setting for cdax0. the input definition for time slot and data port cdax0 are thus swapped to cdax1 and for cdax1 to cdax0. the outputs are not affected by the swap bit. 4.4.4 tr_cr - control register transceiver data (iom_cr.ci_cs=0) value after reset: f8 h read and write access to this register is only possible if iom_cr.ci_cs = 0. en_d ... enable transceiver d-channel data en_b2r ... enable transceiver b2 receive data en_b1r ... enable transceiver b1 receive data en_b2x ... enable transceiver b2 transmit data en_b1x ... enable transceiver b1 transmit data this register is used to individually enable/disable the d-channel (both rx and tx direction) and the receive/transmit paths for the b-channels of the s-transceiver. 0: the corresponding data path to the transceiver is disabled. 1: the corresponding data path to the transceiver is enabled. 70 tr_cr en_ d en_ b2r en_ b1r en_ b2x en_ b1x cs2-0 rd/wr (50) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 206 2003-01-30 note: receive data corresponds to downstream direction, and transmit data corresponds to upstream direction. cs2-0 ... channel select for transceiver d-channel this register is used to select one of eight iom channels to which the transceiver d-channel data is related to. note: the reset value is determined by the channel select pins ch2-0 which are directly mapped to cs2-0. it should be noted that writing tr_cr.cs2-0 will also write to trc_cr.cs2-0 and therefore modify the channel selection for the transceiver c/i0 data. 4.4.5 trc_cr - control register transceiver c/i0 (iom_cr.ci_cs=1) value after reset: 00 h write access to this register is possible if iom_cr.ci_cs = 0 or iom_cr.ci_cs = 1. read access to this register is possible only if iom_cr.ci_cs = 1. cs2-0 ... channel select for the transceiver c/i0 channel this register is used to select one of eight iom channels to which the transceiver c/i0 channel data is related to. the reset value is determined by the mode2-bit and the channel select pins ch2-0 which are mapped to cs2-0. 4.4.6 bchx_cr - control register b-channel controller data 70 trc_cr 0 0 0 0 0 cs2-0 rd/wr (50) 70 bchx_crdps_d 0 en_d en_ bc2 en_ bc1 cs2-0 rd/wr (51,52) register register address value after reset bcha_cr 51 h 08 h bchb_cr 52 h 81 h 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 207 2003-01-30 the registers bcha_tsdp_bc1/2 and bchb_tsdp_bc1/2 (see above) select the iom-2 timeslots for b-channel controller access. for each of the b-channel controllers (bcha, bchb) two 8-bit timeslots can be selected (position and direction). this register bchx_cr is used to select the position (cs2-0) and direction (dps_d) of the 2-bit timeslot for each of the two b-channel controllers, and each of the three selected timeslots (2 x 8-bit and 2-bit) is individually enabled/disabled (en_bc1, en_bc2, en_d). dps_d ... data port selection for d-channel timeslot access 0: the b-channel controller data is output on dd. the b-channel controller data is input from du. 1: the b-channel controller data is output on du. the b-channel controller data is input from dd. en_d ... enable d-channel timeslot (2 -bit) for b-channel controller access en_bc2 ... enable b2-channel timeslot (8-bit) for b-channel controller access en_bc1 ... enable b1-channel timeslot (8-bit) for b-channel controller access these bits individually enable/disable the b-channel access to the 2-bit and the two 8- bit timeslots. 0: b-channel b/a does not access timeslot data b1, b2 or d, respectively. 1: b-channel b/a does access timeslot data b1, b2 or d, respectively. note: the terms b1/b2 should not imply that the 8-bit timeslots must be located in the first/second iom-2 timeslots, it?s simply a placeholder for the 8-bit timeslot position selected in the registers bcha_tsdp_bc1/2 and bchb_tsdp_bc1/2. cs2-0 ... channel select for d-channel timeslot access this register is used to select one of eight iom channels. if enabled (en_d=1), the b- channel controller is connected to the 2-bit d-channel timeslot of that iom channel. note: the reset value is determined by the channel select pins ch2-0 which are directly mapped to cs2-0. 4.4.7 dci_cr - control register for d and ci1 handler (iom_cr.ci_cs=0) value after reset: a0 h 70 dci_cr dps_ ci1 en_ ci1 d_ en_d d_ en_b2 d_ en_b1 cs2-0 rd/wr (53) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 208 2003-01-30 read and write access to this register is only possible if iom_cr.ci_cs = 0. dps_ci1 ... data port selection ci1 handler data 0: the ci1 handler data is output on dd and input from du 1: the ci1 handler data is output on du and input from dd en_ci1 ... enable ci1 handler data 0: ci1 handler data access is disabled 1: ci1 handler data access is enabled note: the timeslot for the c/i1 handler cannot be programmed but is fixed to iom channel 1. d_en_d ... enable d-timeslot for d-channel controller d_en_b2 ... enable b2-timeslot for d-channel controller d_en_b1 ... enable b1-timeslot for d-channel controller these bits are used to select the timeslot length for the d-channel hdlc controller access as it is capable to access not only the d-channel timeslot. the host can individually enable two 8-bit timeslots b1- and b2-channel (d_en_b1, d_en_b2) and one 2-bit timeslot d-channel (d_en_d) on iom-2. the position is selected via cs2-0. 0: d-channel controller does not access timeslot data b1, b2 or d, respectively 1: d-channel controller does access timeslot data b1, b2 or d, respectively cs2-0 ... channel select for d-channel controller this register is used to select one of eight iom channels. if enabled, the d-channel data is connected to the corresponding timeslots of that iom channel. note: the reset value is determined by the channel select pins ch2-0 which are directly mapped to cs2-0. it should be noted that writing dci_cr.cs2-0 will also write to dcic_cr.cs2-0 and therefore modify the channel selection for the data of the c/i0 handler. 4.4.8 dcic_cr - control register for ci0 handler (iom_cr.ci_cs=1) value after reset: 00 h write access to this register is possible if iom_cr.ci_cs = 0 or iom_cr.ci_cs = 1. read access to this register is possible only if iom_cr.ci_cs = 1. 70 dcic_cr 0 0 0 0 0 cs2-0 rd/wr (13) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 209 2003-01-30 cs2-0 ... channel select for c/i0 handler this register is used to select one of eight iom channels. if enabled, the data of the c/i0 handler is connected to the corresponding c/i0 timeslots of that iom channel. the reset value is determined by the channel select pins ch2-0 which are mapped to cs2-0. 4.4.9 mon_cr - control register monitor data value after reset: 40 h for general information please refer to chapter 3.7.3 . dps ... data port selection 0: the monitor data is output on dd and input from du 1: the monitor data is output on du and input from dd en_mon ... enable output 0: the monitor data input and output is disabled 1: the monitor data input and output is enabled cs2-0 ... monitor channel selection 000: the monitor data is input/output on mon0 (3rd timeslot on iom-2) 001: the monitor data is input/output on mon1 (7th timeslot on iom-2) 010: the monitor data is input/output on mon2 (11th timeslot on iom-2) : 111: the monitor data is input/output on mon7 (31st timeslot on iom-2) note: the reset value is determined by the channel select pins ch2-0 which are directly mapped to cs2-0. 70 mon_cr dps en_ mon 000 cs2-0 rd/wr (54) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 210 2003-01-30 4.4.10 sdsx_cr - control register serial data strobe x value after reset: 00 h this register is used to select position and length of the strobe signals. the length can be any combination of two 8-bit timeslot (ens_tss, ens_tss+1) and one 2-bit timeslot (ens_tss+3). for general information please refer to chapter 3.7.2 and chapter 3.7.2.2 . ens_tss ... enable serial data strobe of timeslot tss ens_tss+1 ... enable serial data strobe of timeslot tss+1 0: the serial data strobe signal sdsx is inactive during tss, tss+1 1: the serial data strobe signal sdsx is active during tss, tss+1 ens_tss+3 ... enable serial data strobe of timeslot tss+3 (d-channel) 0: the serial data strobe signal sdsx is inactive during the d-channel (bit7, 6) of tss+3 1: the serial data strobe signal sdsx is active during the d-channel (bit7, 6) of tss+3 tss ... timeslot selection selects one of 32 timeslots on the iom-2 interface (with respect to fsc) during which sdsx is active high or provides a strobed bcl clock output (see sds_conf.sds1/ 2_bcl). the data strobe signal allows standard data devices to access a programmable channel. 70 sdsx_cr ens_ tss ens_ tss+1 ens_ tss+3 tss rd/wr (55-56) register register address value after reset sds1_cr 55 h 00 h sds2_cr 56 h 00 h 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 211 2003-01-30 4.4.11 iom_cr - control register iom data value after reset: 08 h spu ... software power up 0: the du line is normally used for transmitting data 1: setting this bit to ?1? will pull the du line to low. this will enforce connected layer 1 devices to deliver iom-clocking. after a subsequent ista.cic-interrupt (c/i-code change) and reception of the c/i-code ?pu? (power up indication in te-mode) the microcontroller writes an ar or tim command as c/i-code in the cix0-register, resets the spu bit and waits for the following cic-interrupt. for general information please refer to chapter 3.7.6 . dis_aw ... disable asynchronous awake (nt, lt-s, int. nt mode only) setting this bit to ?1? disables the asynchronous awake function of the transceiver. ci_cs ... c/i channel selection the channel selection for d-channel and c/i-channel is done in the channel select bits ch2-0 of register tr_cr (for the transceiver) and dci_cr (for the d-channel controller and c/i-channel controller). 0: a write access to cs2-0 has effect on the configuration of d- and c/i-channel, whereas a read access delivers the d-channel configuration only. 1: a write access to cs2-0 has effect on the configuration of the c/i-channel only, whereas a read access delivers the c/i-channel configuration only. tic_dis ... tic bus disable 0: the last octet of iom channel 2 (12th timeslot) is used as tic bus (in a frame timing with 12 timeslots only). 1: the tic bus is disabled. the last octet of the last iom time slot (ts 11) can be used as every time slot. 70 iom_cr spu dis_ aw ci_cs tic_ dis en_ bcl clkm dis_ od dis_ iom rd/wr (57) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 212 2003-01-30 en_bcl ... enable bit clock bcl/sclk 0: the bcl/sclk clock is disabled 1: the bcl/sclk clock is enabled. clkm ... clock mode if the transceiver is disabled (dis_tr = ?1?) or in nt, lt-s and int. nt mode the dcl from the iom-2 interface is an input. 0: a double bit clock is connected to dcl 1: a single bit clock is connected to dcl for general information please refer to chapter 3.7 . dis_od ... disable open drain drivers 0: du/dd are open drain drivers 1: du/dd are push pull drivers dis_iom ... disable iom dis_iom should be set to ?1? if external devices connected to the iom interface should be ?disconnected? e.g. for power saving purposes or for not disturbing the internal iom connection between layer 1 and layer 2. however, the ipac-x internal operation between s-transceiver, b-channel and d-channel controller is independent of the dis_iom bit. 0: the iom interface is enabled 1: the iom interface is disabled. the fsc, dcl clock outputs have high impedance; clock inputs are active; du, dd data line inputs are switched off and outputs have high impedance; except in te/lt-t mode the du line is input (?0?-level causes activation), so the du pin must be terminated (pull up resistor). 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 213 2003-01-30 4.4.12 sti - synchronous transfer interrupt value after reset: 00 h for all interrupts in the sti register the following logical states are applied: 0: interrupt is not activated 1: interrupt is activated the interrupts are automatically reset by reading the sti register. for general information please refer to chapter 3.7.1.1 . stovxy ... synchronous transfer overflow interrupt enabled stov interrupts for a certain stixy interrupt are generated when the stixy has not been acknowledged in time via the ackxy bit in the asti register. this must be one (for dps=?0?) or zero (for dps=?1?) bcl clocks before the time slot which is selected for the stov. stixy ... synchronous transfer interrupt depending on the dps bit in the corresponding tsdpxy register the synchronous transfer interrupt stixy is generated two (for dps=?0?) or one (for dps=?1?) bcl clock after the selected time slot (tsdpxy.tss). note: st0vxy and ackxy are useful for synchronizing microcontroller accesses and receive/transmit operations. one bcl clock is equivalent to two dcl clock cycles. 70 sti stov 21 stov 20 stov 11 stov 10 sti 21 sti 20 sti 11 sti 10 rd (58) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 214 2003-01-30 4.4.13 asti - acknowledge synchronous transfer interrupt value after reset: 00 h for general information please refer to chapter 3.7.1.1 . ackxy ... acknowledge synchronous transfer interrupt after an stixy interrupt the microcontroller has to acknowledge the interrupt by setting the corresponding ackxy bit to ?1?. 4.4.14 msti - mask synchro nous transfer interrupt value after reset: ff h for the msti register the following logical states are applied: 0: interrupt is not masked 1: interrupt is masked for general information please refer to chapter 3.7.1.1 . stovxy ... synchronous transfer overflow for stixy mask bits for the corresponding stovxy interrupt bits. stixy ... synchronous transfer interrupt xy mask bits for the corresponding stixy interrupt bits. 70 asti 0 0 0 0 ack 21 ack 20 ack 11 ack 10 wr (58) 70 msti stov 21 stov 20 stov 11 stov 10 sti 21 sti 20 sti 11 sti 10 rd/wr (59) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 215 2003-01-30 4.4.15 sds_conf - configuration register for serial data strobes value after reset: 00 h for general information on sds1/2_bcl please refer to chapter 3.7.2 . diom_inv ... du/dd on iom timeslot inverted 0: du/dd are active during sds1 high phase and inactive during the low phase. 1: du/dd are active during sds1 low phase and inactive during the high phase. this bit has only effect if diom_sds is set to ?1? otherwise diom_inv is don?t care. diom_sds ... du/dd on iom controlled via sds1 0: the pin sds1 and its configuration settings are used for serial data strobe only. the iom-2 data lines are not affected. 1: the du/dd lines are deactivated during the during high/low phase (selected via diom_inv) of the sds1 signal. the sds1 timeslot is selected in sds1_cr. sdsx_bcl ... enable iom bit clock for sdsx 0: the serial data strobe is generated in the programmed timeslot. 1: the iom bit clock is generated in the programmed timeslot. 4.4.16 mcda - monitoring cda bits value after reset: ff h mcdaxy ... monitoring cdaxy bits bit 7 and bit 6 of the cdaxy registers are mapped into the mcda register. this can be used for monitoring the d-channel bits on du and dd and the ?echo bits? on the tic bus with the same register 70 sds_ conf 0000diom_ inv diom_ sds sds2_ bcl sds1_ bcl rd/wr (5a) 70 mcda mcda21 mcda20 mcda11 mcda10 rd (5b) bit7 bit6 bit7 bit6 bit7 bit6 bit7 bit6 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 216 2003-01-30 4.4.17 mor - monitor receive channel value after reset: ff h contains the monitor data received in the iom-2 monitor channel according to the monitor channel protocol. the monitor channel (0-7) can be selected by setting the monitor channel select bit mon_cr.mcs. 4.4.18 mox - monitor transmit channel value after reset: ff h contains the monitor data to be transmitted in iom-2 monitor channel according to the monitor channel protocol.the monitor channel (0-7) can be selected by setting the monitor channel select bit mon_cr.mcs 4.4.19 mosr - monitor interrupt status register value after reset: 00 h mdr ... monitor channel data received mer ... monitor channel end of reception mda ... monitor channel data acknowledged the remote end has acknowledged the monitor byte being transmitted. mab ... monitor channel data abort 70 mor monitor receiver data rd (5c) 70 mox monitor transmit data wr (5c) 70 mosr mdr mer mda mab 0 0 0 0 rd (5d) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 217 2003-01-30 4.4.20 mocr - monitor control register value after reset: 00 h mre ... monitor receive interrupt enable 0: monitor interrupt status mdr generation is masked 1: monitor interrupt status mdr generation is enabled mrc ... mr bit control determines the value of the mr bit: 0:mr is always ?1?. in addition, the mdr interrupt is blocked, except for the first byte of a packet (if mre = 1). 1:mr is internally controlled by the ipac-x according to monitor channel protocol. in addition, the mdr interrupt is enabled for all received bytes according to the monitor channel protocol (if mre = 1). mie ... monitor interrupt enable monitor interrupt status mer, mda, mab generation is enabled (1) or masked (0). mxc ... mx bit control determines the value of the mx bit: 0:the mx bit is always ?1?. 1:the mx bit is internally controlled by the ipac-x according to monitor channel protocol. 70 mocr mre mrc mie mxc 0 0 0 0 rd/wr (5e) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 218 2003-01-30 4.4.21 msta - monitor status register value after reset: 00 h mac ... monitor transmit channel active the data transmisson in the monitor channel is in progress. tout ... time-out read-back value of the tout bit. 4.4.22 mconf - monitor configuration register value after reset: 00 h tout... time-out 0: the monitor time-out function is disabled 1: the monitor time-out function is enabled msta 00000mac0tout rd (5f) mconf0000000tout wr (5f) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 219 2003-01-30 4.5 interrupt and general configuration 4.5.1 ista - interrupt status register value after reset: 00 h for all interrupts in the ista register following logical states are applied: 0: interrupt is not acitvated 1: interrupt is acitvated ica, icb, icd ... hdlc interrupt from b-channel a, b or d-channel an interrupt originated from the hdlc controllers of b-channel a, b or of the d-channel has been recognized. st ... synchronous transfer this interrupt is generated to enable the microcontroller to lock on to the iom timing for synchronous transfers. the source can be read from the sti register. cic ... c/i channel change a change in c/i channel 0 or c/i channel 1 has been recognized. the actual value can be read from cir0 or cir1. aux ... auxiliary interrupts signals an interrupt generated from external awake (pin eaw ), watchdog timer overflow, timer1, timer2 or from one of the interrupt input pins (int0 , int1 ). the source can be read from the auxiliary interrupt register auxi. tran ... transceiver interrupt an interrupt originated in the transceiver in terrupt status register (istatr) has been recognized. mos ... monitor status a change in the monitor status register (mosr) has occured. note: a read of the ista register clears no ne of the interrupts. they are only cleared by reading the corresponding status register. 70 ista ica icb st cic aux tran mos icd rd (60) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 220 2003-01-30 4.5.2 mask - mask register value after reset: ff h for the mask register following logical states are applied: 0: interrupt is enabled 1: interrupt is disabled each interrupt source in the ista register can selectively be masked/disabled by setting the corresponding bit in mask to ?1?. masked interrupt status bits are not indicated when ista is read. instead, they remain internally stored and pending, until the mask bit is reset to ?0?. note: in the event of a c/i channel change, cic is set in ista even if the corresponding mask bit in mask is set, but no interrupt is generated. 4.5.3 auxi - auxiliary interrupt status register value after reset: 00 h for all interrupts in the ista register following logical states are applied: 0: interrupt is not acitvated 1: interrupt is acitvated eaw ... external awake interrupt an interrupt from the eaw pin has been detected. wov ... watchdog timer overflow signals the expiration of the watchdog timer, which means that the microcontroller has failed to set the watchdog timer control bits wtc1 and wtc2 (mode1 register) in the correct manner. a reset pulse has been generated by the ipac-x. tin2, 1 ... timer interrupt 1, 2 an interrupt originated from timer 1 or timer 2 is recognized, i.e the timer has expired. 70 mask ica icb st cic aux tran mos icd wr (60) 70 auxi 0 0 eaw wov tin2 tin1 int1 int0 rd (61) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 221 2003-01-30 int1, 0 ... auxiliary interrupt from external devices 1, 0 a low level or a negative state transition (programmable in acfg2.el1/0) is detected at pin aux7 or aux6, respectively. 4.5.4 auxm - auxiliary mask register value after reset: ff h for the mask register following logical states are applied: 0: interrupt is enabled 1: interrupt is disabled each interrupt source in the auxi register can selectively be masked/disabled by setting the corresponding bit in auxm to ?1?. masked interrupt status bits are not indicated when auxi is read. instead, they remain internally stored and pending, until the mask bit is reset to ?0?. 70 auxm 1 1 eaw wov tin2 tin1 int1 int0 wr (61) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 222 2003-01-30 4.5.5 mode1 - mode1 register value after reset: 00 h wtc1, 2 ... watchdog timer control 1, 2 after the watchdog timer mode has been selected (rss = ?11?) the watchdog timer is started. during every time period of 128 ms the microcontroller has to program the wtc1 and wtc2 bit in the following sequence to reset and restart the watchdog timer. if wtc1/2 is not written fast enough in this way, the timer expires and a wov-interrupt (auxi register) together with a reset pulse is generated. cfs ... configuration select this bit determines clock relations and recovery on s/t and iom interfaces. 0: the iom interface clock and frame signals are always active, "power down" state included. the states "power down" and "power up" are thus functionally identical except for the indication: pd = 1111 and pu = 0111. with the c/i command timing (tim) the microcontroller can enforce the "power up" state and with c/i command deactivation indication (di) the "power down" state is reached again. however, it is also possible to activate the s-interface directly with the c/i command activate request (ar 8/10/l) without the tim command. 1: the iom interface clock and frame signals are normally inactive ("power down"). for activating the iom-2 clocks the "power up" state can be induced by software (iom_cr.spu) or by resetting cfs again. after that the s-interface can be activated with the c/i command activate request (ar 8/10/l). the "power down" state can be reached again with the c/i command deactivation indication (di). note: after reset the iom interface is always active. to reach the "power down" state the cfs-bit has to be set. 70 mode1 0 0 0 wtc1 wtc2 cfs rss2 rss1 rd/wr (62) wtc1 wtc2 1. 2. 1 0 0 1 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 223 2003-01-30 for general information please refer to chapter 3.3.9 . rss2, rss1... reset source selection 2,1 the ipac-x reset sources for the rsto output pin can be selected according to the table below.  if rss = ?00? no above listed reset source is selected and therefore no reset is generated at rsto .  watchdog timer after the selection of the watchdog timer (rss = ?11?) the timer is reset and started. during every time period of 128 ms the microcontroller has to program the wtc1 and wtc2 bits in two consecutive bit pattern (see description of the wtc1, 2 bits) otherwise the watchdog timer expires and a reset pulse of 125 s  t  250 s is generated. deactivation of the watchdog timer is only possible with a hardware reset.  if rss = ?10? is selected the following two reset sources generate a reset pulse of 125 s  t  250 s at the rsto pin: - external (subscriber) awake (eaw ) the eaw input pin serves as a request signal from the subscriber to initiate the awake function in a terminal and generates a reset pulse (in te mode only). - exchange awake (c/i code) a c/i code change generates a reset pulse. after a reset pulse generated by the ipac-x and the corresponding interrupt (wov or cic) the actual reset source can be read from the ista. 4.5.6 mode2 - mode2 register value after reset: 00 h rss c/i code change eaw watchdog timer bit 1 bit 0 0 0 -- -- -- 0 1 (reserved) 10xx-- 1 1 -- -- x 70 mode2 0 0 0 0 int_ pol 0 0 ppsdx rd/wr (63) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 224 2003-01-30 int_pol ... interrupt polarity selects the polarity of the interrupt pin int . 0: low active with open drain characteristic (default) 1: high active with push pull characteristic ppsdx ... push/pull output for sdx (sci interface) 0: the sdx pin has open drain characteristic 1: the sdx pin has push/pull characteristic 4.5.7 id - identification register value after reset: 01 h design ... design number the design number allows to identify different hardware designs of the ipac-x by software. 01 h : v 1.4 (all other codes reserved) 4.5.8 sres - software reset register value after reset: 00 h res_xx ... reset functional block xx a reset can be activated on the functional block c/i-handler, b-channel a and b, monitor channel, d-channel, iom handler, s-transceiver and to pin rsto . setting one of these bits to ?1? causes the corresponding block to be reset for a duration of 4 bcl clock cycles, except res_rsto which is activated for a duration of 125 ... 250s. the bits are automatically reset to ?0? again. 70 id 0 0 design rd (64) 70 sres res_ ci res_ bcha res_ bchb res_ mon res_ dch res_ iom res_ tr res_ rsto wr (64) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 225 2003-01-30 4.5.9 timr2 - timer 2 register value after reset: 00 h tmd ... timer mode timer 2 can be used in two different modes of operation. 0: count down timer. an interrupt is generated only once after a time period of 1 ... 63 ms. 1: periodic timer. an interrupt is periodically generated every 1 ... 63 ms (see cnt). cnt ... timer counter 0: timer off. 1 ... 63:timer period = 1 ... 63 ms by writing ?0? to cnt the timer is immediately stopped. a value different from that determines the time period after which an interrupt will be generated. if the timer is already started with a certain cnt value and is written again before an interrupt has been released, the timer will be reset to the new value and restarted again. an interrupt is indicated to the host in auxi.tin2. note: reading back this value delivers back the current counter value which may differ from the programmed value if the counter is running. 70 timr2 tmd 0 cnt rd/wr (65) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 226 2003-01-30 4.6 b-channel registers the registers for b-channel a are contained in the address space 70 h - 7a h and for b-channel b in the address space 80 h - 8a h . 4.6.1 istab - interrupt status register b-channels value after reset: 10 h for general information please refer to chapter 3.9.6 . rme ... receive message end one complete frame of length less than or equal to the defined block size (exmb.rfbs) or the last part of a frame of length greater than the defined block size has been received. the contents are available in the rfifob. the message length and additional information may be obtained from rbchb and rbclb and the rstab register. rpf ... receive pool full a data block of a frame longer than the defined block size (exmb.rfbs) has been received and is available in the rfifob. the frame is not yet complete. rfo ... receive frame overflow the received data of a frame could not be stored, because the rfifob is occupied. the whole message is lost. this interrupt can be used for statistical purposes and indicates that the microcontroller does not respond quickly enough to an rpf or rme interrupt (istab). xpr ... transmit pool ready a data block of up to the defined block size 32 or 64 (exmb.xfbs) can be written to the xfifob. an xpr interrupt will be generated in the following cases:  after an xtf or xme command as soon as the 32 or 64 bytes in the xfifob are available and the frame is not yet complete  after an xtf together with an xme command is issued, when the whole frame has been transmitted  after a reset of the transmitter (xres) 70 istab rme rpf rfo xpr 0 xdu 0 0 rd (70/80) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 227 2003-01-30  after a device reset xdu ... transmit data underrun the current transmission of a frame is aborted by transmitting seven ?1?s because the xfifob holds no further data. this interrupt occurs whenever the microcontroller has failed to respond to an xpr interrupt (istab register) quickly enough, after having initiated a transmission and the message to be transmitted is not yet complete. 4.6.2 maskb - mask register b-channels value after reset: ff h each interrupt source in the istab register can selectively be masked by setting the corresponding bit in maskb to ?1?. masked interrupt status bits are not indicated when istab is read. instead, they remain internally stored and pending until the mask bit is reset to ?0?. for general information please refer to chapter 3.9.6 . 4.6.3 starb - status register b-channels value after reset: 40 h xdov ... transmit data overflow more than 16 or 32 bytes (according to selected block size) have been written to the xfifob, i.e. data has been overwritten. xfw ... transmit fifo write enable data can be written to the xfifob. this bit may be polled instead of (or in addition to) using the xpr interrupt. 70 maskb rme rpf rfo xpr 1 xdu 1 1 wr (70/80) 70 starb xdov xfw 0 0 raci 0 xaci 0 rd (71/81) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 228 2003-01-30 raci ... receiver active indication the b-channel hdlc receiver is active when raci = ?1?. this bit may be polled. the raci bit is set active after a begin flag has been received and is reset after receiving an abort sequence. xaci ... transmitter active indication the b-channel hdlc-transmitter is active when xaci = ?1?. this bit may be polled. the xaci-bit is active when an xtf-command is issued and the frame has not been completely transmitted 4.6.4 cmdrb - command register b-channels value after reset: 00 h rmc ... receive message complete reaction to rpf (receive pool full) or rme (receive message end) interrupt. by setting this bit, the microcontroller confirms that it has fetched the data, and indicates that the corresponding space in the rfifob may be released. rres ... receiver reset hdlc receiver is reset, the rfifob is cleared of any data. xtf ... transmit transparent frame after having written up to 32 or 64 bytes (exmb.xfbs) to the xfifob, the microcontroller initiates the transmission of a transparent frame by setting this bit to ?1?. the opening flag is automatically added to the message by the ipac-x. xme ... transmit message end by setting this bit to ?1? the microcontroller indicates that the data block written last to the xfifob completes the corresponding frame. the ipac-x terminates the transmission by appending the crc and the closing flag sequence to the data. xres ... transmitter reset the b-channel hdlc transmitter is reset and the xfifob is cleared of any data. this command can be used by the microcontroller to abort a frame currently in transmission. 70 cmdrb rmc rres 0 0 xtf 0 xme xres wr (71/81) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 229 2003-01-30 note: after an xpr interrupt further data has to be written to the xfifob and the appropriate transmit command (xtf) has to be written to the cmdrb register again to continue transmission, when the current frame is not yet complete (see also xpr in istab). during frame transmission, the 0-bit insertion according to the hdlc bit-stuffing mechanism is done automatically. 4.6.5 modeb - mode register value after reset: c0 h mds2-0 ... mode select determines the message transfer mode of the hdlc controller, as follows: 70 modeb mds2 mds1 mds0 0 rac 0 0 0 rd/wr (72/82) mds2-0 mode number of address bytes address comparison remark 1.byte 2.byte 0 0 0 reserved 0 0 1 reserved 0 1 0 non-auto mode 1 ral1,ral2 ? one-byte address compare. 0 1 1 non-auto mode 2rah1,rah2, group address ral1,ral2, group address two-byte address compare. 1 0 0 extended transparent mode 1 1 0 transparent mode 0 ? ? ? no address compare. all frames accepted. 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 230 2003-01-30 note: - rah1, rah2: two programmable address values for the first received address byte (in the case of an address field longer than 1 byte); group address= fixed value fc / fe h . - ral1, ral2: two programmable address values for the second (or the only, in the case of a one-byte address) received address byte; group address= fixed value ff h . rac ... receiver active the b-channel hdlc receiver is activated when this bit is set to ?1?. if set to ?0? the hdlc data is not evaluated in the receiver. 4.6.6 exmb - extended mode register b-channels value after reset: 00 h xfbs ? transmit fifo block size 0 ? block size for the transmit fifo data is 64 byte 1 ? block size for the transmit fifo data is 32 byte note: a change of xfbs will take effect after a receiver command (cmdrb.xme, cmdrb.xres, cmdrb.xtf) has been written. 1 1 1 transparent mode 1 > 1 rah1,rah2, group address ? high-byte address compare. 1 0 1 transparent mode 2 > 1 ? ral1,ral2, group address low-byte address compare. 70 exmb xfbs rfbs sra xcrc rcrc 0 itf rd/wr (73/83) mds2-0 mode number of address bytes address comparison remark 1.byte 2.byte 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 231 2003-01-30 rfbs ? receive fifo block size note: a change of rfbs will take effect after a transmitter command (cmdrb.rmc, cmdrb.rres,) has been written sra ? store receive address 0 ? receive address is not stored in the rfifob 1 ? receive address is stored in the rfifob xcrc ? transmit crc 0 ? crc is transmitted 1 ? crc is not transmitted rcrc? receive crc 0 ? crc is not stored in the rfifob 1 ? crc is stored in the rfifob itf? interframe time fill selects the inter-frame time fill signal which is transmitted between hdlc-frames. 0 ? idle (continuous ?1?) 1 ? flags (sequence of patterns: ?0111 1110?) rfbs block size receive fifo bit 6 bit5 0 0 64 byte 0 1 32 byte 1 0 16 byte 1 1 8 byte 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 232 2003-01-30 4.6.7 rah1 - rah1 register value after reset: 00 h rah1 ... value of the first individual programmable high address byte in operating modes that provide high byte address recognition, the high byte of the received address is compared with the individual programmable values in rah1, rah2 or group address fc h /fe h . mha ... mask high address 0: the rah1 address of an incoming frame is compared with rah1, rah2 and group address. 1: the rah1 address of an incoming frame is compared with rah1 and group address. rah1 can be masked with rah2 thereby bitpositions of rah1 are not compared if they are set to ?1? in rah2. 4.6.8 rah2 - rah2 register value after reset: 00 h rah2 ... value of the second individual programmable high address byte see rah1 register above. rah1 and rah2 are used in non-auto mode when a 2-byte address field has been selected and in the transparent mode 1. mla ... mask low address 0:the address of an incoming frame is compared with ral1, ral2 and group address. 1:the address of an incoming frame is compared with ral1 and group address. ral1 can be masked with ral2 thereby bitpositions of ral1 are not compared if they are set to ?1? in ral2. 70 rah1 rah1 0 mha wr (75/85) 70 rah2 rah2 0 mla wr (76/86) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 233 2003-01-30 4.6.9 rbclb - receive frame byte count low b-channels value after reset: 00 h rbc7-0 ... receive byte count eight least significant bits of the total number of bytes in a received message (see rbchb register). 4.6.10 rbchb - receive frame byte count high b-channels value after reset: 00 h . ov ... overflow a ?1? in this bit position indicates a message longer than (2 12 - 1) = 4095 bytes . rbc8-11 ... receive byte count four most significant bits of the total number of bytes in a received message (see rbclb register). note: normally rbchb and rbclb should be read by the microcontroller after an rme- interrupt in order to determine the number of bytes to be read from the rfifob, and the total message length. the contents of the registers are valid only after an rme or rpf interrupt, and remain so until the frame is acknowledged via the rmc bit or rres. 4.6.11 ral1 - ral1 register 1 value after reset: 00 h 70 rbclb rbc7 rbc0 rd (76/86) 70 rbchb 0 0 0 ov rbc11 rbc8 rd (77/87) 70 ral1 ral1 wr (77/87) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 234 2003-01-30 ral1 ... receive address byte low register 1 the general function (read/write) and the meaning or contents of this register depends on the selected operating mode: ? non-auto mode (16-bit address): ral1 can be programmed with the value of the first individual low address byte. ? non-auto mode (8-bit address): according to x.25 lapb protocol, the address in ral1 is recognized as command address. 4.6.12 ral2 - ral2 register value after reset: 00 h ral2 ... receive address byte low register 2 value of the second individual programmable low address byte. if a one byte address field is selected, ral2 is recognized as response according to x.25 lapb protocol. 4.6.13 rstab - receive status register b-channels value after reset: 0e h vfr... valid frame determines whether a valid frame has been received. the frame is valid (1) or invalid (0). a frame is invalid when there is not a multiple of 8 bits between flag and frame end (flag, abort). rdo ... receive data overflow if rdo=1, at least one byte of the frame has been lost, because it could not be stored in rfifob. as opposed to istab.rfo an rdo indicates that the beginning of a frame has been received but not all bytes could be stored as the rfifob was temporarily full. 70 ral2 ral2 wr (78/88) 70 rstab vfr rdo crc rab ha1 ha0 c/r la rd (78/88) 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 235 2003-01-30 crc ... crc check the crc is correct (1) or incorrect (0). rab ... receive message aborted the receive message was aborted by the remote station (1), i.e. a sequence of seven 1?s was detected before a closing flag. ha1, ha0 ? high byte address compare; significant only in non automode 16 and in transparent mode 1 in operating modes which provide high byte address recognition, the ipac-x compares the high byte of a 2-bytes address with the contents of two individual programmable registers (rah1, rah2) and the fixed values fe h and fc h (group address). depending on the result of this comparison, the following bit combinations are possible: 10 ? rah1 has been recognized 00 ? rah2 has been recognized 01 ? group address has been recognized c/r ... command/response the c/r bit contains the c/r bit of the received frame (bit1 in the sapi address, lapd) la ? low byte address compare; significant only in non automodes 8 and 16 and in transparent mode 2 the low byte address of a 2-byte address field, or the single address byte of a 1-byte address field is compared with two programmable registers (ral1, ral2) and with the group address (fixed value ff h ) 0 ? group address has been recognized 1 ? ral1 or ral2 has been recognized note: rstab corresponds to the last received hdlc frame; it is duplicated into rfifob for every frame (last byte of frame). if several frames are contained in the rfifob the corresponding status information for each frame should be evaluated from the fifo contents (last byte) as rstab only refers to last frame in the fifo. 4 .com u datasheet
ipac-x psb/psf 21150 detailed register description data sheet 236 2003-01-30 4.6.14 tmb -test mode register b-channels value after reset: 00 h tlp ... test loop the tx path of layer-2 is internally connected with the rx path of layer-2. data coming from the layer 1 controller will not be forwarded to the layer 2 controller. 4.6.15 rfifob - receive fifo b-channels a read access to this register gives access to the ?current? fifo location selected by an internal pointer which is automatically incremented after each read access. the rfifob contains up to 128 bytes of received data. after an istab.rpf interrupt, a complete data block is available. the block size can be 8, 16, 32 or 64 bytes depending on the exmb.rfbs setting. after an istab.rme interrupt, the number of received bytes can be obtained by reading the rbclb register. 4.6.16 xfifob - transmit fifo b-channels a write access to this register gives access to the ?current? fifo location selected by an internal pointer which is automatically incremented after each write access. depending on exmb.xfbs up to 32 or 64 bytes of transmit data can be written to the xfifob following an istab.xpr interrupt. 70 tmb 0000000tlp rd/wr (79/89) 70 rfifob receive data rd (7a/8a) 70 xfifob transmit data wr (7a/8a) 4 .com u datasheet
ipac-x psb/psf 21150 electrical characteristics data sheet 237 2003-01-30 5 electrical characteristics 5.1 absolute maximum ratings note: stresses above those listed here may cause permanent damage to the device. exposure to absolute maximum rating conditions for extended periods may affect device reliability. maximum ratings are absolute ratings; exceeding only one of these values may cause irreversible damage to the integrated circuit. the supply voltage must show a monotonic rise. parameter symbol limit values unit min. max. ambient temperature under bias peb pef t a 0 -45 +70 +85 c storage temperature t stg ? 55 150 c input/output voltage on any pin with respect to ground v s ? 0.3 5.25 v maximum voltage on any pin with respect to ground v max 5.5 v 4 .com u datasheet
ipac-x psb/psf 21150 electrical characteristics data sheet 238 2003-01-30 5.2 dc characteristics v dd / v ss = 3.3 v  5%; t a = 0 to 70 c parameter symbol limit values unit test condition min. typ. max. h-input level (except pin sr1/2) v ih 2.0 5.5 v l-input level (except pin sr1/2) v il ? 0.3 0.8 v h-output level (except pin xtal2, sx1/2) v oh 2.4 v i oh = - 4.5 ma (ad0-7) i oh = - 400  a (all others) l-output level (except pin xtal2, sx1/2) v ol 0.45 v i ol = 6 ma (du, dd, c768) i ol = 4.5 ma (acl , aux7, aux6, ad0-7) i ol = 2 ma (all others) input leakage current output leakage current (all pins except sx1/2,sr1/2,xtal1/2, aux7/6) i li i lo  1  1  a  a 0 v< v in ipac-x psb/psf 21150 electrical characteristics data sheet 239 2003-01-30 5.3 capacitances t a = 25 c, v dd = 3.3 v  5% v ssa = 0 v, v ss = 0 v, f c = 1 mhz, unmeasured pins grounded. parameter symbol limit values unit remarks min. max. input capacitance i/o capacitance c in c i/o 7 7 pf pf all pins except sx1,2 and xtal1,2 output capacitance against v ss c out 10 pf pins sx1,2 4 .com u datasheet
ipac-x psb/psf 21150 electrical characteristics data sheet 240 2003-01-30 5.4 oscillator specification recommended oscillator circuits figure 89 oscillator circuits note: it is important to note that the load capacitance depends on the recommendation of the crystal specification. typical values are 22 ... 33 pf. xtal1 clock characteristics (external oscillator input) parameter symbol limit values unit frequency f 7.680 mhz frequency calibration tolerance max. 100 ppm load capacitance c l max. 40 pf oscillator mode fundamental parameter limit values min. max. duty cycle 1:2 2:1 its09659 7.68 mhz xtal1 xtal2 xtal2 xtal1 n.c. oscillator external signal crystal oscillator mode driving from external source 42 41 41 42 pf 33 33 pf c l l c 4 .com u datasheet
ipac-x psb/psf 21150 electrical characteristics data sheet 241 2003-01-30 5.5 ac characteristics t a = 0 to 70 c, v dd = 3.3 v  5% inputs are driven to 2.4 v for a logical "1" and to 0.45 v for a logical "0". timing measurements are made at 2.0 v for a logical "1" and 0.8 v for a logical "0". the ac testing input/output waveforms are shown in figure 90 . figure 90 input/output waveform for ac tests its09660 = 100 load c test under device 0.45 2.4 2.0 0.8 0.8 2.0 test points pf 4 .com u datasheet
ipac-x psb/psf 21150 electrical characteristics data sheet 242 2003-01-30 5.6 iom-2 interface timing data is transmitted with the rising edge of dcl and sampled with its falling edge. below figure shows double clock mode timing (the length of a timeslot is 2 dcl cycles), however, the timing parameters are valid both in single and double clock mode. for the direction of du,dd (input or output) please refer to chapter 3.4 . figure 91 iom-2 timing (te mode) 4 .com u datasheet
ipac-x psb/psf 21150 electrical characteristics data sheet 243 2003-01-30 figure 92 iom-2 timing (lt-s, lt-t, nt mode) parameter symbol limit values unit min. max. iom output data delay t iod 60 ns iom input data setup t iis 4ns iom input data hold t iih 3ns fsc strobe delay (see note) t fsd -135 15 ns strobe signal delay t sdd 50 ns bcl / fsc delay t bcd 30 ns frame sync setup t fss 20 ns frame sync hold t fsh 30 ns frame sync width t fsw 40 ns t fss t fsh t fsw fsc (i) dcl (i) du/dd (i) iih t iis t du/dd (o) bit 0 bit 0 sdd t sds (o) t iod itt09680 t fss t fsh 4 .com u datasheet
ipac-x psb/psf 21150 electrical characteristics data sheet 244 2003-01-30 note: min. value in synchronous state, max. value in non-synchronous state. this results in a phase shift of fsc when the s-bus gets activated, this is the fsc signal is shifted by 135 ns. this applies only to te mode. dcl clock output characteristics figure 93 definition of clock period and width dcl clock input characteristics symbol limit values unit test condition min. typ. max. t p 585 651 717 ns osc  100 ppm t wh 260 325 391 ns osc  100 ppm t wl 260 325 391 ns osc  100 ppm parameter limit values unit min. max. duty cycle 40 60 % 2.3 v 4 .com u datasheet
ipac-x psb/psf 21150 electrical characteristics data sheet 245 2003-01-30 5.7 microcontroller interface timing 5.7.1 serial control interface (sci) timing figure 94 sci interface parameter sci interface symbol limit values unit min. max. scl cycle time t 1 200 ns scl high time t 2  100 ns scl low time t 3  100 ns cs setup time t 4  2ns cs hold time t 5 10 ns sdr setup time t 6  10 ns sdr hold time t 7  6ns sdx data out delay t 8  30 ns cs high to sdx tristate t 9 40 ns cs scl sdr sdx t 4 t 2 t 3 t 1 t 9 t 5 t 6 t 7 t 8 4 .com u datasheet
ipac-x psb/psf 21150 electrical characteristics data sheet 246 2003-01-30 5.7.2 parallel microcontroller interface timing siemens/intel bus mode the data read and write timing is the same for multiplexed and non multiplexed bus operation ( figure 95 and figure 96 ). figure 97 shows the corresponding address timing in multiplexed mode and figure 98 in non multiplexed mode. figure 95 microprocessor read cycle figure 96 microprocessor write cycle 4 .com u datasheet
ipac-x psb/psf 21150 electrical characteristics data sheet 247 2003-01-30 figure 97 multiplexed address timing figure 98 non-multiplexed address timing motorola bus mode the motorola bus is non multiplexed. the data timing is shown in figure 99 (read) and figure 100 (write). the corresponding address timing (for both read and write) is shown in figure 101 . itt09661 wr x cs or a0-a7 t ah t as address rd x cs 4 .com u datasheet
ipac-x psb/psf 21150 electrical characteristics data sheet 248 2003-01-30 figure 99 microprocessor read timing figure 100 microprocessor write cycle figure 101 non-multiplexed address timing d0-7 itt09679 cs x ds d0 - d7 t dw data t wd dsd t ww tt wi r / w t rwd d0-7 itt09662 cs x ds ad0 - ad7 t ah t as a0-7 4 .com u datasheet
ipac-x psb/psf 21150 electrical characteristics data sheet 249 2003-01-30 microprocessor interface timing parameter symbol limit values unit min. max. ale pulse width t aa 20 ns address setup time to ale t al 5ns address hold time from ale t la 3ns address latch setup time to wr , rd t als 10 ns address setup time t as 10 ns address hold time t ah 3ns ale guard time t ad 15 ns ds delay after r/w setup t dsd 3ns rd pulse width t rr 100 ns data output delay from rd t rd 80 ns data float from rd t df 25 ns rd control interval t ri 70 ns w pulse width t ww 10 ns data setup time to w x cs t dw 10 ns data hold time w x cs t wd 2ns w control interval t wi 70 ns r/w hold from cs x ds inactive t rwd 2ns 4 .com u datasheet
ipac-x psb/psf 21150 electrical characteristics data sheet 250 2003-01-30 5.8 multiframe synchronisation timing figure 102 sampling time in lt-s/nt mode (m-bit input) fsc dcl fsc detected xtal sx1 / sx2 mbit counter reset 20 xtal the sample time of the mbit input is related to the rising edge of fsc at the beginning of an s0 frame -- min: 20 * 1 / xtal -- max: 20 * 1 / xtal + 1 / xtal + 1 / dcl 21150_32 fbit (40xxtal) 4 .com u datasheet
ipac-x psb/psf 21150 electrical characteristics data sheet 251 2003-01-30 5.9 reset figure 103 reset signal res parameter symbol limit values unit test conditions min. length of active low state t res 4 ms power on/power down to power up (standby) 2 x dcl clock cycles during power up (standby) 21150_26 res t res 4 .com u datasheet
ipac-x psb/psf 21150 electrical characteristics data sheet 252 2003-01-30 5.10 s-transceiver parameter symbol limit values unit test condition min. typ. max. v dd = 3.3 v  5%; v ss = 0 v; t a = 0 to 70 c absolute value of output pulse amplitude | vsx2 ? vsx1 | v x 1.17 v r l =  transmitter output current i x 26 ma r l = 5.6  transmitter output impedance (sx1,2) z x 10 0 k   inactive or during binary one; during binary zero r l = 50  receiver input impedance (sr1,2) z r 30 k  v dd = 3.3 v 4 .com u datasheet
ipac-x psb/psf 21150 electrical characteristics data sheet 253 2003-01-30 5.11 recommended transformer specification ( note: in te/lt-t mode, at the pulse shape measurement with a load of 400  (e.g. k 1403 approval test ?pulse shape?) overshots might occur with a leakage inductance greater than 6  h. parameter symbol limit values unit test condition min. typ. max. transformer ratio 1:1 main inductance l 25 20 mh mh no dc current, 10 khz 2.5 ma dc current, 10 khz leakage inductance l l 8 6 h h nt/lt-s mode, 10 khz te/lt-t mode, 10 khz capacitance between primary and secondary side c80pf1 khz copper resistance r 1.7 2.0 2.3 w 4 .com u datasheet
ipac-x psb/psf 21150 electrical characteristics data sheet 254 2003-01-30 5.12 line overload protection the maximum input current for the s-transceiver lines (under overvoltage conditions) is given as a function of the width of a rectangular input current pulse. the desctruction limits are shown in figure 104 . figure 104 maximum line input current 21150_35 t [s] 10 -8 10 -7 10 -6 10 -5 10 -4 10 -3 10 -2 i [a] 1 2 3 1.5 0.80 0.65 0.52 0.40 4 .com u datasheet
ipac-x psb/psf 21150 electrical characteristics data sheet 255 2003-01-30 5.13 emc / esd aspects to improve performance with respect to emc and esd requirements it is recommended to provide additional capacitors in the middle tap of the transformers (see figure 105 below). the values for c1 and c2 should be in the range 1 ... 10 nf. they can be located either on the chip side of the transformer (option 1) or on the s bus side (option 2), but not on both sides. this improves emc immunity acording to en55024 which is mandatory since 2001-07- 01. note: the figure does not show any other components required for protection circuit in receive and transmit direction as this is not affected by including c1 and c2. figure 105 transformer circuitry ac ac ac c k1 c p2 c p1 c p4 c p3 c k4 c 1 c 2 transmitter (nt) transmitter (te) sr1 sr2 sx1 sx2 c k2 c k3 test generator 0.15mhz - 80mhz carrier with 1 khz, 80% amplitude modulated signal couple capacity: c k1  c k2  c k3  c k4 parasitic capacity: c p1  c p2  c p3  c p4 test setup c1, c2 required to supress common mode signals (option 1) c 1 c 2 c1 and c2 are also possible at this position (option 2) 21150_34 4 .com u datasheet
ipac-x psb/psf 21150 package outlines data sheet 256 2003-01-30 6 package outlines p-mqfp-64-1 (plastic metric quad flat package) gpm05220 y ou can find all of the current packages, types of packing, and others on the infineon internet pag e ? products?: http://www.infineon.com/products . dimensions in mm s md = surface mounted device 4 .com u datasheet
ipac-x psb/psf 21150 package outlines data sheet 257 2003-01-30 p-tqfp-64-1 (plastic thin quad flat package) gpm05613 y ou can find all of the current packages, types of packing, and others on the infineon internet pag e ? products?: http://www.infineon.com/products . dimensions in mm s md = surface mounted device 4 .com u datasheet
ipac-x psb/psf 21150 appendix data sheet 258 2003-01-30 7appendix d-channel hdlc, c/i-channel handler name76543210addrr/wres rfifod d-channel receive fifo 00 h - 1f h r xfifod d-channel transmit fifo 00 h - 1f h w istad rme rpf rfo xpr xmr xdu 0 0 20 h r10 h maskd rme rpf rfo xpr xmr xdu 1 1 20 h wff h stard xdov xfw 0 0 raci 0 xaci 0 21 h r40 h cmdrd rmc rres 0 sti xtf 0 xme xres 21 h w00 h moded mds2 mds1 mds0 0 rac dim2 dim1 dim0 22 h r/w c0 h exmd1 xfbs rfbs sra xcrc rcrc 0 itf 23 h r/w 00 h timr1 cnt value 24 h r/w 00 h sap1 sapi1 0 mha 25 h wfc h sap2 sapi2 0 mla 26 h wfc h rbcld rbc7 rbc0 26 h r00 h rbchd 0 0 0 ov rbc11 rbc8 27 h r00 h tei1 tei1 ea1 27 h wff h tei2 tei2 ea2 28 h wff h rstad vfr rdo crc rab sa1 sa0 c/r ta 28 h r0f h tmd 0000000tlp29 h r/w 00 h reserved 2a-2d h cir0 codr0 cic0 cic1 s/g bas 2e h rf3 h cix0 codx0 tba2 tba1 tba0 bac 2e h wfe h 4 .com u datasheet
ipac-x psb/psf 21150 appendix data sheet 259 2003-01-30 cir1 codr1 cicw ci1e 2f h rfe h cix1 codx1 cicw ci1e 2f h wfe h transceiver, auxiliary interface name76543210 addrr/wres tr_ conf0 dis_ tr bus en_ icv 0 l1sw 0 exlp ldd 30 h r/w 01 h tr_ conf1 0rpll_ adj en_ sfsc 00xx x31 h r/w tr_ conf2 dis_ tx pds 0 rlp 0 0 sgp sgd 32 h r/w 80 h tr_sta rinf slip icv 0 fsyn 0 ld 33 h r00 h tr_cmd xinf dprio tddis pd lp_a 0 34 h r/w 08 h sqrr1 msyn mfen 0 0 sqr11sqr12sqr13sqr14 35 h r40 h sqxr1 0 mfen 0 0 sqx11 sqx12sqx13 sqx14 35 h w4f h sqrr2 sqr21sqr22sqr23sqr24sqr31sqr32sqr33sqr34 36 h r00 h sqxr2 sqx21sqx22sqx23sqx24sqx31 sqx32sqx33 sqx34 36 h w00 h sqrr3 sqr41sqr42sqr43sqr44sqr51sqr52sqr53sqr54 37 h r00 h sqxr3 sqx41sqx42sqx43sqx44sqx51 sqx52sqx53 sqx54 37 h w00 h istatr 0 x x x ld ric sqc sqw 38 h r00 h masktr 1 1 1 1 ld ric sqc sqw 39 h r/w ff h tr_ mode 0 0 0 0 dch_ inh mode 2 mode 1 mode 0 3a h r/w 00 h reserved 3b h acfg1 od7 od6 od5 od4 od3 od2 od1 od0 3c h r/w 00 h acfg2 a7sel a5sel fbs a4sel acl led el1 el0 3d h r/w 00 h 4 .com u datasheet
ipac-x psb/psf 21150 appendix data sheet 260 2003-01-30 aoe oe7 oe6 oe5 oe4 oe3 oe2 oe1 oe0 3e h r/w ff h arx ar7 ar6 ar5 ar4 ar3 ar2 ar1 ar0 3f h r atx at7 at6 at5 at4 at3 at2 at1 at0 3f h w00 h iom handler (timeslot , data port selection, cda data and cda control register) name76543210addrr/wres cda10 controller data access register (ch10) 40h r/wffh cda11 controller data access register (ch11) 41h r/wffh cda20 controller data access register (ch20) 42h r/wffh cda21 controller data access register (ch21) 43h r/wffh cda_ tsdp10 dps 0 0 tss 44h r/w00h cda_ tsdp11 dps 0 0 tss 45h r/w01h cda_ tsdp20 dps 0 0 tss 46h r/w80h cda_ tsdp21 dps 0 0 tss 47h r/w81h bcha_ tsdp_ bc1 dps 0 0 tss 48h r/w80h bcha_ tsdp_ bc2 dps 0 0 tss 49h r/w81h transceiver, auxiliary interface name76543210 addrr/wres 4 .com u datasheet
ipac-x psb/psf 21150 appendix data sheet 261 2003-01-30 bchb_ tsdp_ bc1 dps 0 0 tss 4ah r/w81h bchb_ tsdp_ bc2 dps 0 0 tss 4bh r/w85h tr_ tsdp_ bc1 dps00tss 4chr/w tr_ tsdp_ bc2 dps00tss 4dhr/w cda1_ cr 00en_ tbm en_i1 en_i0 en_o1en_o0swap 4eh r/w00h cda2_ cr 00en_ tbm en_i1 en_i0 en_o1en_o0swap 4fh r/w00h iom handler (control registers, synchronous transfer interrupt control), monitor handler name76543210addrr/wres tr_cr (ci_cs=0) en_ d en_ b2r en_ b1r en_ b2x en_ b1x cs2-0 50 h r/w trc_cr (ci_cs=1) 00000 cs2-0 50 h r/w bcha_ cr dps_ d 0 en_d en_ bc2 en_ bc1 cs2-0 51 h r/w 80 h bchb_ cr dps_ d 0 en_d en_ bc2 en_ bc1 cs2-0 52 h r/w 81 h dci_cr (ci_cs=0) dps_ ci1 en_ ci1 d_ en_d d_ en_b2 d_ en_b1 cs2-0 53 h r/w 4 .com u datasheet
ipac-x psb/psf 21150 appendix data sheet 262 2003-01-30 dcic_cr (ci_cs=1) 00000 cs2-0 53 h r/w 00h mon_cr dps en_ mon 000 cs2-0 54 h r/w sds1_cr ens_ tss ens_ tss+1 ens_ tss+3 tss 55 h r/w 00 h sds2_cr ens_ tss ens_ tss+1 ens_ tss+3 tss 56 h r/w 00 h iom_cr spu dis_ aw ci_cs tic_ dis en_ bcl clkm dis_ od dis_ iom 57 h r/w 08 h sti stov 21 stov 20 stov 11 stov 10 sti 21 sti 20 sti 11 sti 10 58 h r00 h asti 0000ack 21 ack 20 ack 11 ack 10 58 h w00 h msti stov 21 stov 20 stov 11 stov 10 sti 21 sti 20 sti 11 sti 10 59 h r/w ff h sds_ conf 0000diom_ inv diom_ sds sds2_ bcl sds1_ bcl 5a h r/w 00 h mcda mcda21 mcda20 mcda11 mcda10 5b h rff h mor monitor receive data 5c h rff h mox monitor transmit data 5c h wff h mosrmdrmermdamab00005d h r00 h mocrmremrcmiemxc00005e h r/w 00 h msta 00000mac0tout5f h r00 h mconf0000000tout5f h w00 h 4 .com u datasheet
ipac-x psb/psf 21150 appendix data sheet 263 2003-01-30 interrupt, general configuration registers name76543210 addrr/wres ista ica icb st cic aux tran mos icd 60 h r00 h mask ica icb st cic aux tran mos icd 60 h wff h auxi 0 0 eaw wov tin2 tin1 int1 int0 61 h r00 h auxm 1 1 eaw wov tin2 tin1 int1 int0 61 h wff h mode1 0 0 0 wtc1 wtc2 cfs rss2 rss1 62 h r/w 00 h mode20000int_ pol 0 0 ppsdx 63 h r/w 00 h id 0 0 design 64 h r01 h sres res_ ci res_ bcha res_ bchb res_ mon res_ dch res_ iom res_ tr res_ rsto 64 h w00 h timr2 tmd 0 cnt 65 h r/w 00 h reserved 66 h - 6f h b-channel hdlc control registers (channel a / b) name76543210addrr/wres istab rme rpf rfo xpr 0 xdu 0 0 70 h /80 h r10 h maskb rme rpf rfo xpr 1 xdu 1 1 70 h /80 h wff h starb xdov xfw 0 0 raci 0 xaci 0 71 h /81 h r40 h cmdrb rmc rres 0 0 xtf 0 xme xres 71 h /81 h w00 h modeb mds2 mds1 mds0 0 rac 0 0 0 72 h /82 h r/w c0 h exmb xfbs rfbs sra xcrc rcrc 0 itf 73 h /83 h r/w 00 h reserved 74 h /84 h 4 .com u datasheet
ipac-x psb/psf 21150 appendix data sheet 264 2003-01-30 rah1 rah1 0 mha 75 h /85 h w00 h rah2 rah2 0 mla 76 h /86 h w00 h rbclb rbc7 rbc0 76 h /86 h r00 h rbchb 0 0 0 ov rbc11 rbc8 77 h /87 h r00 h ral1 ral1 77 h /87 h w00 h ral2 ral2 78 h /88 h w00 h rstab vfr rdo crc rab ha1 ha0 c/r la 78 h /88 h r0e h tmb 0000000tlp79 h /89 h r/w 00 h rfifob b-channel receive fifo 7a h / 8a h r xfifob b-channel transmit fifo 7a h / 8a h w reserved 7b h - 7f h 8b h - 8f h 4 .com u datasheet
ipac-x psb/psf 21150 data sheet 265 2003-01-30 a a4sel bit 202 a5sel bit 202 a7sel bit 202 absolute maximum ratings 245 ac characteristics 250 acfg1 register 202 acfg2 register 202 ackxy bits 218 acl bit 202 activation 94 activation indication - pin acl 49 activation led 49 activation/deactivation of iom-2 inter- face 138 aoe register 204 appendix 265 applications 20 ar7-0 bits 204 architecture 33 arx register 204 asti register 218 asynchronous awake 140 at7-0 bits 205 atx register 205 aux bit 224 auxi register 225 auxiliary interface 141 auxm register 226 b bac bit 188 bas bit 187 bchx_cr registers 211 bchx_tsdp_bc1/2 registers 207 block diagram 34 bus bit 191 bus operation modes 40 c c/i channel 128 c/r bit 185, 242 capacitances 248 cda_tsdpxy registers 207 cdax_cr register 208 cdaxy registers 206 cfs bit 227 ci_cs bit 216 ci1e bit 189 cic bit 224 cic1/0 bits 187 cicw bit 189 cir0 register 187 cir1 register 189 cix0 register 188 cix1 register 190 clkm bit 216 clock generation 70 cmdr register 178 cmdrb register 234 cnt bits 182, 230 codr0 bits 187 codr1 bits 189 codx0 bits 188 codx1 bits 190 control of layer-1 75 controller data access 102 crc bit 185, 242 d d_en_b2/1 bits 212 d_en_d bit 212 dc characteristics 246 dch_inh bit 200 d-channel access control intelligent nt 134 s-bus d-channel control in lt-t 134 s-bus priority mechanism 131 tic bus 129 dci_cr register 212 deactivation 94 delay between iom-2 and s 59 design bits 229 device architecture 33 4 .com u datasheet
ipac-x psb/psf 21150 data sheet 266 2003-01-30 dim2-0 bits 179 direct address mode 40 dis_aw bit 216 dis_iom bit 216 dis_od bit 216 dis_tr bit 191 dis_tx bit 193 dprio bit 195 dps bit 207, 214 dps_ci1 bit 212 dps_d bit 211 e ea1 bit 184 ea2 bit 185 eaw bit 225 el1/0 bits 202 electrical characteristics 245 en_b2/1r bits 209 en_b2/1x bits 209 en_bc2/1 bits 211 en_bcl bit 216 en_ci1 bit 212 en_d bit 209, 211 en_i0 bit 208 en_i1 bit 208 en_icv bit 191 en_mon bit 214 en_o0 bit 208 en_o1 bit 208 en_sfsc bit 192 en_tbm bit 208 ens_tssx bits 215 exchange awake 45 exlp bit 191 exmb register 237 exmd1 register 180 extended transparent mode 161 external reset input 45 f fbs bit 202 features 18 fsyn bit 194 functional blocks 33 h ha1/0 bits 242 hdlc controllers access to iom channels 160 data reception 147 data transmission 155 extended transparent mode 161 interrupts 162 receive frame structure 153 test functions 163 transmit frame structure 160 i i/o lines 141 ica/b bits 224 icd bit 224 icv bit 194 id register 229 idsl 111 indirect address mode 40 int_pol bit 229 int1/0 bits 225 intelligent nt 134 interrupt input 142 interrupt structure 42 iom_cr register 216 iom-2 97 frame structure (lt) 99 frame structure (nt) 99 frame structure (te) 98 handler 100 interface timing 251 lt-s, lt-t, nt modes 97 monitor channel 117 te mode 97 ista register 224 istab register 232 istad register 175 istatr register 199 4 .com u datasheet
ipac-x psb/psf 21150 data sheet 267 2003-01-30 itf bit 180, 237 j jitter 73 l l1sw bit 191 la bit 242 ld bit 194, 199 ldd bit 191 led bit 202 led output 49 level detection 67 logic symbol 19 looping data 103 lp_a bit 195 lt-t mode 134 m mab bit 221 mac bit 223 mask register 225 maskb register 233 maskd register 176 masktr register 200 m-bit synchronisation 56 mcda register 220 mcdaxy bits 220 mconf register 223 mda bit 221 mdr bit 221 mds2-0 bits 179, 236 mer bit 221 mfen bit 196, 197 mha bit 182, 238 microcontroller interface timing 254 microcontroller interfaces 35 mie bit 222 mla bit 183, 240 mocr register 222 mode1 register 227 mode2 register 229 mode2-0 bits 200 modeb register 236 moded register 179 mon_cr register 214 monitor channel error treatment 122 handshake procedure 118 interrupt logic 127 master device 124 slave device 125 time-out procedure 126 monitoring data 107 monitoring tic bus 107 mor register 220 mos bit 224 mosr register 221 mox register 221 mrc bit 222 mre bit 222 msta register 223 msti register 219 msyn bit 196 multiframe sync timing 258 multiframe synchronization 56 multiframing 54 mxc bit 222 o od7-0 bits 202 oe7-0 bits 204 oscillator 249 oscillator clock output 74 ov bit 184, 241 overview 14 p package outlines 262 parallel microcontroller interface 40 pd bit 195 pds bit 193 pin configuration 24 ppsdx bit 229 4 .com u datasheet
ipac-x psb/psf 21150 data sheet 268 2003-01-30 r rab bit 185, 242 rac bit 179, 236 raci bit 177, 233 rah1 register 238 rah2 register 240 ral1 register 241 ral2 register 242 rbc11-8 bits 184, 241 rbc7-0 bits 183, 240 rbchb register 241 rbchd register 184 rbclb register 240 rbcld register 183 rcrc bit 180, 237 rdo bit 185, 242 receive pll 73 register description 165 res_xxx bits 230 reset generation 44 reset source selection 44 reset timing 259 rfbs bits 180, 237 rfifob register 244 rfifod register 174 rfo bit 175, 232 ric bit 199 rinf bits 194 rlp bit 193 rmc bit 178, 234 rme bit 175, 232 rpf bit 175, 232 rpll_adj bit 192 rres bit 178, 234 rss2/1 bits 227 rstab register 242 rstad register 185 s s/g bit 136, 187 s/t-interface 50 circuitry 64 coding 52 delay compensation 66 external protection circuitry 64 multiframe synchronization 56 multiframing 54 receiver characteristics 63 transceiver enable/disable 67 transmitter characteristics 62 sa1/0 bits 185 sap1 register 182 sap2 register 183 s-bus priority mechanism 131 sci - serial control interface 36 sci interface timing 254 sds 114 sds_conf register 219 sds2/1_bcl bits 219 sdsx_cr registers 215 serial data strobe 114 sgd bit 193 sgp bit 193 shifting data 103 slip bit 194 software reset 45 spu bit 216 sqc bit 199 sqr1-4 bits 196 sqr21-24 bits 197 sqr31-34 bits 197 sqr41-44 bits 198 sqr51-54 bits 198 sqrr1 register 196 sqrr2 register 197 sqrr3 register 198 sqw bit 199 sqx1-4 bits 197 sqx21-24 198 sqx31-34 bits 198 sqx41-44 bits 198 sqx51-54 bits 198 sqxr1 register 197 sqxr2 register 198 sqxr3 register 198 4 .com u datasheet
ipac-x psb/psf 21150 data sheet 269 2003-01-30 sra bit 180, 237 sres register 230 st bit 224 starb register 233 stard register 177 state machine lt-s mode 84 nt mode 89 te and lt-t mode 77 sti bit 178 sti register 217 stixy bits 217, 219 stop/go bit 136, 187 stovxy bits 217, 219 strobed data clock 114 subscriber awake 45 swap bit 208 synchronous transfer 108 t ta bit 185 tba2-0 bits 188 tddis bit 195 tei1 register 184 tei2 register 185 test functions 68 test signals 164 tic bus 129 tic_dis bit 216 timer 46 timer 1 47 timer 2 47 timr1 register 182 timr2 register 230 tin2/1 bits 225 tlp bit 187, 244 tmb register 244 tmd bit 230 tmd register 187 tout bit 223 tr_cmd register 195 tr_conf0 register 191 tr_conf1 register 192 tr_conf2 register 193 tr_cr register 209 tr_mode register 200 tr_sta register 194 tr_tsdp_bc1/2 registers 207 tran bit 224 transceiver enable/disable 67 transformer specification 261 tss bits 207, 215 typical applications 20 v value bits 182 vfr bit 185, 242 w watchdog timer 45 wov bit 225 wtc1/2 bits 227 x xaci bit 177, 233 xcrc bit 180, 237 xdov bit 177, 233 xdu bit 175, 232 xfbs bit 180, 237 xfifob register 244 xfifod register 174 xfw bit 177, 233 xinf bits 195 xme bit 178, 234 xmr bit 175 xpr bit 175, 232 xres bit 178, 234 xtf bit 178, 234 4 .com u datasheet
http://www.infineon.com published by infineon technologies ag 4 .com u datasheet


▲Up To Search▲   

 
Price & Availability of PSB21150V14

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X